all repos — nixfiles @ 7f527bb245c0dad5f827a24fe135611650ab082c

System and user configuration, managed by nix and home-manager

Reorganise folder structure to remove hidden files

After moving from GNU Stow, this is not necessary.  Non-hidden files
are much easier to work with.
Alan Pearce alan@alanpearce.eu
Fri, 03 Apr 2020 13:27:46 +0200
commit

7f527bb245c0dad5f827a24fe135611650ab082c

parent

657f50fc07a9e65a33168cdf5451a6b05e48b651

M user/settings/emacs.nixuser/settings/emacs.nix
@@ -187,7 +187,7 @@ home.sessionVariables = {     EDITOR = "${editorScript}/bin/edit";
   };
   home.file.".emacs.d/init.el" = {
-    source = ../emacs/.emacs.d/init.el;
+    source = ../emacs/init.el;
     onChange = ''
       ${config.programs.emacs.finalPackage}/bin/emacs -Q -batch -f batch-byte-compile .emacs.d/init.el
     '';
M user/settings/gnupg.nixuser/settings/gnupg.nix
@@ -3,6 +3,6 @@ {
   home.file.".gnupg" = {
     recursive = true;
-    source = ../gnupg/.gnupg;
+    source = ../gnupg;
   };
 }
M user/settings/xresources.nixuser/settings/xresources.nix
@@ -3,7 +3,7 @@ {
   home.file.".xresources" = {
     recursive = true;
-    source = ../xresources/.xresources;
+    source = ../xresources;
     onChange = ''
       ${pkgs.xorg.xrdb}/bin/xrdb -merge .xresources/main
     '';
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -28,10 +28,6 @@ git     git-lfs
     zsh-completions
   ];
-  xdg.configFile.zsh = {
-    recursive = true;
-    source = ../zsh/.config/zsh;
-  };
 
   programs.zsh = {
     enable = true;
@@ -253,7 +249,7 @@ } 
       source ${pkgs.fzf}/share/fzf/key-bindings.zsh
 
-    '' + builtins.readFile ../zsh/.config/zsh/.zshrc;
+    '' + builtins.readFile ../zsh/zshrc;
   };
 
   home.file."${zshrc}".onChange = "${pkgs.zsh}/bin/zsh -i -c 'autoload -Uz compinit && compinit && zcompile ${zshrc}'";