Change nixos shell aliases to call nixos-rebuild switch directly
This commit is contained in:
parent
45aa5879e0
commit
4718aad31c
|
@ -65,9 +65,8 @@
|
||||||
expireDuplicatesFirst = true;
|
expireDuplicatesFirst = true;
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
nixos-upgrade = "systemctl start nixos-upgrade.service";
|
nixos-switch = "sudo nixos-rebuild switch --flake flake:my-nixos --show-trace";
|
||||||
nixos-status = "systemctl status nixos-upgrade.service";
|
home-manager-switch = "nix run flake:my-home-manager -- switch --flake flake:my-home-manager --show-trace";
|
||||||
home-manager-switch = "nix run flake:my-home-manager -- switch --flake flake:my-home-manager";
|
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
## completion config and styling
|
## completion config and styling
|
||||||
|
|
Reference in a new issue