mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 02:31:33 +01:00
Authenticate sudo before running the rebuild command
This commit is contained in:
parent
393afa7c2c
commit
8506e3b7ff
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
home.shellAliases = lib.mkIf cfg.nixAliases.enable {
|
home.shellAliases = lib.mkIf cfg.nixAliases.enable {
|
||||||
nr = "nixos-rebuild --flake $FLAKE --use-remote-sudo";
|
nr = "sudo -v && nixos-rebuild --flake $FLAKE --use-remote-sudo";
|
||||||
nrs = "nr switch";
|
nrs = "nr switch";
|
||||||
nrt = "nr test";
|
nrt = "nr test";
|
||||||
nrb = "nr boot";
|
nrb = "nr boot";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue