Add alias to quickly go into system flake directory

This commit is contained in:
Dragyx 2024-04-14 18:56:41 +02:00
commit 44453dbfc6

View file

@ -57,6 +57,7 @@ in {
nv = "nvim";
#TODO fix hardcoding of git repo path and profile name
update = "sudo -p 'password: ' echo 'Your daughter is just a fork of your wife.' && sudo nixos-rebuild switch --flake \"${gitPath}#${hostname}\" --log-format internal-json |& nom --json";
flake = "cd '${gitPath}'";
} // cfg.extraAliases;
initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";