From 153a181cbc58fe8ae71c68599c8b8c557744b4e5 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Fri, 30 Jun 2023 10:37:00 +0100 Subject: [PATCH] Split boot module. --- hosts/common/global/boot.nix | 5 +++++ hosts/common/global/default.nix | 1 + 2 files changed, 6 insertions(+) create mode 100644 hosts/common/global/boot.nix diff --git a/hosts/common/global/boot.nix b/hosts/common/global/boot.nix new file mode 100644 index 0000000..82f8345 --- /dev/null +++ b/hosts/common/global/boot.nix @@ -0,0 +1,5 @@ +{ + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; +} diff --git a/hosts/common/global/default.nix b/hosts/common/global/default.nix index 6b39cf4..f496f50 100644 --- a/hosts/common/global/default.nix +++ b/hosts/common/global/default.nix @@ -1,5 +1,6 @@ { imports = [ + ./boot.nix ./locale.nix ./packages.nix ./sudo.nix