updated hardware config

This commit is contained in:
Forestcat 2023-12-25 13:38:23 +01:00
parent bb67157ff8
commit 2a19bef592

View file

@ -8,20 +8,25 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/9e8fa989-bc21-4d9c-a75e-4a3185b21cb4";
{ device = "/dev/disk/by-uuid/7cf4b63a-98c6-4519-8939-7e2fbb1ce7b3";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-955d08e0-c2b1-4cc1-9318-24baa423d4d2".device = "/dev/disk/by-uuid/955d08e0-c2b1-4cc1-9318-24baa423d4d2";
boot.initrd.luks.devices."luks-41eb2059-e19b-4d6f-8272-db7be909bd8f".device = "/dev/disk/by-uuid/41eb2059-e19b-4d6f-8272-db7be909bd8f";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/6CC6-A30D";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/ce4a07bd-466b-4efe-85bd-35161f2f354c"; }
[ { device = "/dev/disk/by-uuid/3ae91855-7788-4842-9807-0c30b966ce84"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@ -29,9 +34,11 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s25.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wwan0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}