From de72d95e95e6ce92531b5cc07352edd61a8f1ea4 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 16 Sep 2023 13:45:48 +0900 Subject: feat(nixos/haruka): add power options on grub --- nixos/haruka/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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. -- cgit 1.4.1