From 4a652c226f0732761af22c3994e6254abd100b0a Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Thu, 22 Dec 2022 14:04:39 +0100 Subject: [PATCH] home.file -> xdg.configFile --- users/rouven/modules/alacritty/default.nix | 2 +- users/rouven/modules/awesome/default.nix | 2 +- users/rouven/modules/neovim/default.nix | 2 +- users/rouven/modules/vifm/default.nix | 4 ++-- users/rouven/modules/zsh/default.nix | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/users/rouven/modules/alacritty/default.nix b/users/rouven/modules/alacritty/default.nix index 57fc2b3..d08a247 100644 --- a/users/rouven/modules/alacritty/default.nix +++ b/users/rouven/modules/alacritty/default.nix @@ -1,5 +1,5 @@ { config, pkgs, ... }: { home.packages = with pkgs; [ alacritty ]; - home.file.".config/alacritty/alacritty.yml".source = ./alacritty.yml; + xdg.configFile."alacritty/alacritty.yml".source = ./alacritty.yml; } diff --git a/users/rouven/modules/awesome/default.nix b/users/rouven/modules/awesome/default.nix index 9dd78f0..039b040 100644 --- a/users/rouven/modules/awesome/default.nix +++ b/users/rouven/modules/awesome/default.nix @@ -1,5 +1,5 @@ { config, pkgs, ... }: { # declaration of awesome wm is in hosts//default.nix - home.file.".config/awesome/rc.lua".source = ./rc.lua; + xdg.configFile."awesome/rc.lua".source = ./rc.lua; } diff --git a/users/rouven/modules/neovim/default.nix b/users/rouven/modules/neovim/default.nix index cbd45e9..1ca1850 100644 --- a/users/rouven/modules/neovim/default.nix +++ b/users/rouven/modules/neovim/default.nix @@ -3,7 +3,7 @@ programs.neovim = { enable = true; # defaultEditor = true; why the hell doesn't this work :( - # vimAlias = true; + vimAlias = true; plugins = with pkgs.vimPlugins; [ nerdtree nerdcommenter diff --git a/users/rouven/modules/vifm/default.nix b/users/rouven/modules/vifm/default.nix index 2f2a7bb..ee82edd 100644 --- a/users/rouven/modules/vifm/default.nix +++ b/users/rouven/modules/vifm/default.nix @@ -1,6 +1,6 @@ { config, pkgs, ... }: { home.packages = with pkgs; [ vifm ]; - home.file.".config/vifm/vifmrc".source = ./vifmrc; - home.file.".config/vifm/colors/dracula.vifm".source = ./dracula.vifm; + xdg.configFile."vifm/vifmrc".source = ./vifmrc; + xdg.configFile."vifm/colors/dracula.vifm".source = ./dracula.vifm; } diff --git a/users/rouven/modules/zsh/default.nix b/users/rouven/modules/zsh/default.nix index 681fb9c..71ec2aa 100644 --- a/users/rouven/modules/zsh/default.nix +++ b/users/rouven/modules/zsh/default.nix @@ -13,7 +13,7 @@ oh-my-zsh = { enable = true; - plugins = [ "gh" ]; + plugins = [ "gh" "pass" ]; theme = "agnoster"; };