Cannot update with sudo since it doesn't have the ssh key

This commit is contained in:
Lillian Violet 2024-03-12 14:57:59 +01:00
parent 1314cc6bd5
commit c236a32fe4

View file

@ -11,7 +11,7 @@ writeShellApplication
text = ''
# An upgrade script for nixos
sudo systemd-inhibit --who="NixOS Updater" --why="Updating flake lock" update
update
sudo systemd-inhibit --who="NixOS Updater" --why="Updating system configuration" rebuild-no-inhibit
'';
}