hosts/ni: update hardware and disko config

This commit is contained in:
Gabriel Arazas 2024-12-11 13:25:58 +08:00
parent 0dfa5a2c15
commit de6b00d438
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ primaryDisk ? "/dev/nvme0n1", secondaryDisk ? null, config, lib, ... }: { primaryDisk ? "/dev/nvme0n1", config, lib, ... }:
{ {
disko.devices = lib.mkMerge [ disko.devices = lib.mkMerge [

View File

@ -10,7 +10,9 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "uas" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
services.ddccontrol.enable = true;
boot.extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot = { boot.loader.systemd-boot = {