mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
feat: update flake.lock
fix: issues introduced by the update chore: --use-remote-sudo is deprecated, use --sudo instead
This commit is contained in:
4
utils.nu
4
utils.nu
@@ -7,9 +7,9 @@ export def nixos-switch [
|
||||
if "debug" == $mode {
|
||||
# show details via nix-output-monitor
|
||||
nom build $".#nixosConfigurations.($name).config.system.build.toplevel" --show-trace --verbose
|
||||
nixos-rebuild switch --use-remote-sudo --flake $".#($name)" --show-trace --verbose
|
||||
nixos-rebuild switch --sudo --flake $".#($name)" --show-trace --verbose
|
||||
} else {
|
||||
nixos-rebuild switch --use-remote-sudo --flake $".#($name)"
|
||||
nixos-rebuild switch --sudo --flake $".#($name)"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user