Update configuration.nix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user