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;
|
||||
};
|
||||
shellAliases = {
|
||||
nixos-upgrade = "systemctl start nixos-upgrade.service";
|
||||
nixos-status = "systemctl status nixos-upgrade.service";
|
||||
home-manager-switch = "nix run flake:my-home-manager -- switch --flake flake:my-home-manager";
|
||||
nixos-switch = "sudo nixos-rebuild switch --flake flake:my-nixos --show-trace";
|
||||
home-manager-switch = "nix run flake:my-home-manager -- switch --flake flake:my-home-manager --show-trace";
|
||||
};
|
||||
initExtra = ''
|
||||
## completion config and styling
|
||||
|
|
Reference in a new issue