summaryrefslogtreecommitdiff
path: root/systems/afrodite/boot.nix
diff options
context:
space:
mode:
authorLeonardo <noreply@leoflo.me>2026-03-18 16:58:43 +0100
committerLeonardo <noreply@leoflo.me>2026-03-18 16:58:43 +0100
commit32c4d5def0a00c13f0ed012539ff1df5917b1547 (patch)
tree32fb5fb54a8b4d8fd72f3ccb3e1d8c98cb7da94d /systems/afrodite/boot.nix
parent4678bae1d91e35957f96dc497e46d7995c4fd3be (diff)
downloadnixos-32c4d5def0a00c13f0ed012539ff1df5917b1547.tar.gz
nixos-32c4d5def0a00c13f0ed012539ff1df5917b1547.zip
configurazione di afrodite
Diffstat (limited to 'systems/afrodite/boot.nix')
-rw-r--r--systems/afrodite/boot.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/systems/afrodite/boot.nix b/systems/afrodite/boot.nix
index fccaeac..2a3f3d9 100644
--- a/systems/afrodite/boot.nix
+++ b/systems/afrodite/boot.nix
@@ -1,17 +1,15 @@
{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" ];
+ availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
kernelModules = [ ];
};
- loader = {
- systemd-boot.enable = true;
- efi.canTouchEfiVariables = true;
+ loader.grub = {
+ efiSupport = true;
+ efiInstallAsRemovable = true;
};
extraModulePackages = [ ];