summaryrefslogtreecommitdiff
path: root/systems/afrodite/boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/afrodite/boot.nix')
-rw-r--r--systems/afrodite/boot.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/systems/afrodite/boot.nix b/systems/afrodite/boot.nix
new file mode 100644
index 0000000..fccaeac
--- /dev/null
+++ b/systems/afrodite/boot.nix
@@ -0,0 +1,19 @@
+{pkgs, ...}: {
+ boot = {
+ kernelPackages = pkgs.linuxPackages_6_18; # NOTE: soltanto versioni LTS per il server
+ #kernelModules = [ "kvm-intel" ];
+ kernelParams = [ "boot.shell_on_fail" ];
+
+ initrd = {
+ availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
+ kernelModules = [ ];
+ };
+
+ loader = {
+ systemd-boot.enable = true;
+ efi.canTouchEfiVariables = true;
+ };
+
+ extraModulePackages = [ ];
+ };
+}