From a9d0f1e6b7e6dfff30773d11dd1ff32d517cdc06 Mon Sep 17 00:00:00 2001 From: Spectre Date: Wed, 26 Feb 2025 23:56:54 +0100 Subject: [PATCH] boot --- hosts/lilith-pc/config.nix | 3 +++ system/boot.nix | 6 ++++++ system/default.nix | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 system/boot.nix diff --git a/hosts/lilith-pc/config.nix b/hosts/lilith-pc/config.nix index e69de29b..efab0596 100644 --- a/hosts/lilith-pc/config.nix +++ b/hosts/lilith-pc/config.nix @@ -0,0 +1,3 @@ +{ + system = "x86_64-linux"; +} diff --git a/system/boot.nix b/system/boot.nix new file mode 100644 index 00000000..b7012fca --- /dev/null +++ b/system/boot.nix @@ -0,0 +1,6 @@ +{pkgs, ...}: { + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + boot.kernelPackages = pkgs.linuxPackages_latest; +} diff --git a/system/default.nix b/system/default.nix index ea8f50d4..99a4a168 100644 --- a/system/default.nix +++ b/system/default.nix @@ -1,2 +1,5 @@ {...}: { + imports = [ + ./boot.nix + ]; }