mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
hosts/ni: update hardware and disko config
This commit is contained in:
parent
0dfa5a2c15
commit
de6b00d438
@ -1,4 +1,4 @@
|
||||
{ primaryDisk ? "/dev/nvme0n1", secondaryDisk ? null, config, lib, ... }:
|
||||
{ primaryDisk ? "/dev/nvme0n1", config, lib, ... }:
|
||||
|
||||
{
|
||||
disko.devices = lib.mkMerge [
|
||||
|
@ -10,7 +10,9 @@
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "uas" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
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.
|
||||
boot.loader.systemd-boot = {
|
||||
|
Loading…
Reference in New Issue
Block a user