all repos — nixfiles @ 0d9e6aa06b267c71c358a034c82412f28b589917

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

avoid hardcoding absolute path to this repo in nix
Alan Pearce alan@alanpearce.eu
Tue, 21 May 2024 09:22:18 +0200
commit

0d9e6aa06b267c71c358a034c82412f28b589917

parent

da560ebda355d444d963f73b1086989d80d3dd10

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M system/settings/user-interface.nixsystem/settings/user-interface.nix
@@ -52,7 +52,7 @@ }; 
   programs.nh = {
     enable = true;
-    flake = "/home/alan/projects/alanpearce.eu/nixfiles";
+    flake = builtins.toString ../..;
     clean = {
       enable = true;
       extraArgs = "--keep-since 14d";
M user/settings/shell.nixuser/settings/shell.nix
@@ -30,7 +30,7 @@ lla = "lal";       llr = "ll -t";
 
       c = "lk";
-      "c," = "cd $(ghq list -p nixfiles)";
+      "c," = "cd ${toString ../..}";
       cg = "cd $(git root)";
       cdg = "cd $(git root)";