Or this instead actually
This commit is contained in:
parent
b5ff78aae9
commit
42a5093c25
|
@ -25,7 +25,7 @@ writeShellApplication
|
|||
popd > /dev/null
|
||||
echo "NixOS Rebuilt OK!"
|
||||
}
|
||||
sudo bash -c "$(declare -f rebuild_function); rebuild_function"
|
||||
sudo systemd-inhibit --who="NixOS Updater" --why="Updating system configuration" sudo -u lillian rebuild_function
|
||||
|
||||
sudo systemd-inhibit --who="NixOS Updater" --why="Updating system configuration" sudo -u lillian bash -c "$(declare -f rebuild_function); rebuild_function"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue