From 1a8afca99eda23c6eb62dc6b26f178dd51e58b85 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 22 Nov 2024 09:00:03 -0800 Subject: [PATCH] snowhawk: reboot-windows --- hosts/snowhawk/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/snowhawk/home.nix b/hosts/snowhawk/home.nix index 7d66049..33736ce 100644 --- a/hosts/snowhawk/home.nix +++ b/hosts/snowhawk/home.nix @@ -110,6 +110,11 @@ systemctl suspend '') + (writeShellScriptBin "reboot-windows" '' + sudo ${pkgs.grub2}/bin/grub-reboot "Windows Boot Manager (on /dev/nvme0n1p1)" + sudo reboot + '') + feh imagemagick uhk-agent