avoid hardcoding absolute path to this repo in nix
Alan Pearce alan@alanpearce.eu
Tue, 21 May 2024 09:22:18 +0200
2 files changed, 2 insertions(+), 2 deletions(-)
M system/settings/user-interface.nix → system/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.nix → user/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)";