home.file -> xdg.configFile

This commit is contained in:
Rouven Seifert 2022-12-22 14:04:39 +01:00
parent e366f02180
commit 4a652c226f
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.packages = with pkgs; [ alacritty ]; home.packages = with pkgs; [ alacritty ];
home.file.".config/alacritty/alacritty.yml".source = ./alacritty.yml; xdg.configFile."alacritty/alacritty.yml".source = ./alacritty.yml;
} }

View file

@ -1,5 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# declaration of awesome wm is in hosts/<name>/default.nix # declaration of awesome wm is in hosts/<name>/default.nix
home.file.".config/awesome/rc.lua".source = ./rc.lua; xdg.configFile."awesome/rc.lua".source = ./rc.lua;
} }

View file

@ -3,7 +3,7 @@
programs.neovim = { programs.neovim = {
enable = true; enable = true;
# defaultEditor = true; why the hell doesn't this work :( # defaultEditor = true; why the hell doesn't this work :(
# vimAlias = true; vimAlias = true;
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
nerdtree nerdtree
nerdcommenter nerdcommenter

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.packages = with pkgs; [ vifm ]; home.packages = with pkgs; [ vifm ];
home.file.".config/vifm/vifmrc".source = ./vifmrc; xdg.configFile."vifm/vifmrc".source = ./vifmrc;
home.file.".config/vifm/colors/dracula.vifm".source = ./dracula.vifm; xdg.configFile."vifm/colors/dracula.vifm".source = ./dracula.vifm;
} }

View file

@ -13,7 +13,7 @@
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ "gh" ]; plugins = [ "gh" "pass" ];
theme = "agnoster"; theme = "agnoster";
}; };