modified: common/home.nix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user