tweak: tidied formatting

This commit is contained in:
serenity-F 2026-09-24 16:53:38 +10:00
parent b04a1bff16
commit b24b75da8f
No known key found for this signature in database
2 changed files with 21 additions and 28 deletions

View file

@ -19,9 +19,6 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
# bootloader
boot.loader.systemd-boot.enable = true;
# kernel modules to include
boot.initrd.availableKernelModules = [
"ehci_pci"
@ -33,8 +30,23 @@
"sd_mod"
];
# enable amdgpu at boot
boot.initrd.kernelModules = [ "amdgpu" ];
# enable amd radeon gpu drivers
# https://nixos.wiki/wiki/AMD_GPU
boot = {
# exposes gpu drivers
kernelModules = [
"amdgpu"
"kvm-amd"
];
# gpu drivers during boot and pre boot
initrd.kernelModules = [ "amdgpu" ];
};
hardware = {
# discrete graphics support
graphics.enable = true;
# fixes early video issues
amdgpu.initrd.enable = true;
};
# luks device mapping
boot.initrd.luks.devices."luks-35440a88-293e-455b-a018-ee1086b07321".device =