modified: common/home.nix

This commit is contained in:
2025-07-16 20:06:55 +10:00
parent 0ab5a56493
commit bd6f0ab825

View File

@@ -8,7 +8,7 @@ let
--flake git+https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos.git#$(hostname) --flake git+https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos.git#$(hostname)
''; '';
myTestCmd = '' myTestCmd = ''
sudo nixos-rebuild switch \ sudo nixos-rebuild test \
--no-write-lock-file \ --no-write-lock-file \
--refresh \ --refresh \
--flake git+https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos.git#$(hostname) --flake git+https://gitea.lan.ddnsgeek.com/beatzaplenty/nixos.git#$(hostname)
@@ -24,7 +24,7 @@ programs.bash = {
enable = true; enable = true;
shellAliases = { shellAliases = {
"Switch-nix" = mySwitchCmd; "Switch-nix" = mySwitchCmd;
"Test-nix" = mySwitchCmd; "Test-nix" = myTestCmd;
}; };
initExtra = '' initExtra = ''
# ensure loading of aliases/session variables # ensure loading of aliases/session variables