Install pro-laptop

This commit is contained in:
Florian RICHER 2024-05-21 22:16:54 +02:00
parent fa161db05d
commit d0e50b2ce6

View file

@ -8,23 +8,23 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2559c3d8-2d01-4666-b1e2-e448dbe90dda";
{ device = "/dev/disk/by-uuid/98137863-d1f5-4286-9385-42abf74b44a6";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/D8F8-89DC";
{ device = "/dev/disk/by-uuid/51DB-A393";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/9dae0d33-697c-442e-bc64-b79ad643d089"; }
[ { device = "/dev/disk/by-uuid/7b49cd63-3b19-43bb-acc9-0d27d92152b9"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@ -32,8 +32,8 @@
# 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.enp2s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;