all repos — nixfiles @ 453435e0c6c07eafe70a17d4d87e8b5f93a324e6

System and user configuration, managed by nix and home-manager

os update: use normal user and sudo

Alin
commit

453435e0c6c07eafe70a17d4d87e8b5f93a324e6

parent

e7cbe3eeca23a61086a71f2d10f6e96641345320

1 file changed, 4 insertions(+), 3 deletions(-)

changed files
M scripts/os/update/smrk → scripts/os/update/smrk
@@ -12,11 +12,12 @@ set --local target (status basename)
set --local action (if test -n "$argv[1]"; echo $argv[1]; else echo "switch"; end) if set --query _flag_remote - set --function build_host --build-host root@{$target} + set --function build_host --build-host {$target} end nixos-rebuild $action \ --flake .?submodules=1#{$target} \ $build_host \ - --target-host root@{$target} \ - --no-reexec + --target-host {$target} \ + --no-reexec \ + --sudo