Remove that sudo

This commit is contained in:
Lillian Violet 2024-03-01 15:21:29 +01:00
parent 8e3c5c5340
commit 2c35fa2c9c

View file

@ -16,7 +16,7 @@ writeShellApplication
systemd-inhibit git clone https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git ./rebuild
cd ./rebuild
echo "NixOS Rebuilding..."
systemd-inhibit sudo nixos-rebuild switch --flake .#
systemd-inhibit nixos-rebuild switch --flake .#
cd ..
echo "Cleaning up repository in '/tmp/rebuild'..."
systemd-inhibit rm -rf ./rebuild