mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Only use sudo for the activation part of nixos-rebuild
This commit is contained in:
parent
ac71470c92
commit
ff77b68230
1 changed files with 2 additions and 2 deletions
|
|
@ -43,12 +43,12 @@ in {
|
|||
|
||||
(lib.mkIf cfg.nixAliases.enable {
|
||||
home.shellAliases = {
|
||||
nr = "sudo nixos-rebuild --flake $FLAKE";
|
||||
nr = "nixos-rebuild --flake $FLAKE --use-remote-sudo";
|
||||
nrs = "nr switch";
|
||||
nrt = "nr test";
|
||||
nrb = "nr boot";
|
||||
nrrb = "nrb && reboot";
|
||||
nu = "sudo nix flake update";
|
||||
nu = "nix flake update";
|
||||
};
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue