diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index d4216dce84..9ad402e617 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -98,6 +98,15 @@ in { }; }) deluge + (writeShellScriptBin "windows" '' + set -ue + if [[ $EUID -ne 0 ]]; then + exec sudo "$0" "$@" + fi + + efibootmgr -n 0001 + systemctl reboot + '') ]; #hardware.nvidia.prime.offload.enable = true;