about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-16 13:45:48 +0900
committersefidel <contact@sefidel.net>2023-09-16 13:45:48 +0900
commitde72d95e95e6ce92531b5cc07352edd61a8f1ea4 (patch)
tree781abaa3829bed07d57838973ef5419b504d1908 /nixos
parent03d4eb0b1e16f39e79ea74baf12253f3dc774986 (diff)
downloadnixrc-de72d95e95e6ce92531b5cc07352edd61a8f1ea4.tar.gz
nixrc-de72d95e95e6ce92531b5cc07352edd61a8f1ea4.zip
feat(nixos/haruka): add power options on grub
Diffstat (limited to 'nixos')
-rw-r--r--nixos/haruka/configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index 0013b88..b562c8b 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -39,6 +39,15 @@
     copyKernels = true;
     gfxmodeEfi = "1920x1200";
     fontSize = 32;
+
+    extraEntries = ''
+      menuentry "Reboot" {
+        reboot
+      }
+      menuentry "Shutdown" {
+        halt
+      }
+    '';
   };
 
   # Erase your darlings.