Update configuration.nix

This commit is contained in:
ska
2026-01-02 23:21:04 +00:00
parent ee1e1c299c
commit 09e38fe5fc

View File

@@ -19,7 +19,7 @@
}; };
############################################################ ############################################################
# INITRD - HARDWARE-"AGNOSTIC" + FALLBACK + LUKS # INITRD - LUKS
############################################################ ############################################################
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = true;
@@ -34,20 +34,14 @@
"sr_mod" "sr_mod"
]; ];
# Explicit graphics fallback for unknown hardware
boot.initrd.kernelModules = [
"i915"
"amdgpu"
"nouveau"
];
boot.initrd.luks.devices.root = { boot.initrd.luks.devices.root = {
device = "/dev/disk/by-partlabel/nixos-crypt"; device = "/dev/disk/by-partlabel/nixos-crypt";
preLVM = true; preLVM = true;
allowDiscards = true; allowDiscards = true;
}; };
# boot.plymouth.enable = true; boot.plymouth.enable = true;
boot.kernelParams = [ "nomodeset" ];
############################################################ ############################################################
# FIRMWARE - WIDE HARDWARE SUPPORT # FIRMWARE - WIDE HARDWARE SUPPORT