refactor(nixosmodules): move boot config to module

This commit is contained in:
Mohammad Rafiq 2025-04-27 00:20:25 +08:00
parent 2d29c8ffef
commit 5bef7c46a6
No known key found for this signature in database
9 changed files with 61 additions and 57 deletions

View file

@ -6,7 +6,6 @@
}:
{
imports = [
../configs/bootloaders/systemd-boot.nix
../configs/filesystems/hw-nemesis.nix
../configs/hardware/nvidia.nix
../configs/hardware/powermanagement.nix
@ -15,4 +14,5 @@
boot.kernelModules = [ "kvm-amd" ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
boot-config.bootloader = "systemd-boot";
}