1
0
Fork 0

nixos-operations-script: Remove accidentally included sudo command

This commit is contained in:
Aires 2024-10-18 15:22:21 -04:00
parent 741c17aac5
commit 0e022cf390

View file

@ -90,6 +90,6 @@ fi
options="--flake ${flakeDir}#${hostname} ${remainingArgs} --use-remote-sudo --log-format multiline-with-logs"
echo "Running this operation: nixos-rebuild ${operation} ${options}"
/run/wrappers/bin/sudo -u $user /run/current-system/sw/bin/nixos-rebuild $operation $options
/run/current-system/sw/bin/nixos-rebuild $operation $options
exit 0