mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-05 20:16:17 +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:
1 parent
4ec26c5e5f
commit
9aa0ff80ae
4 files changed
+51
-46
No files matched your search
@@ -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