Migrate to new ssd

This commit is contained in:
batteredbunny 2024-04-26 23:43:55 +03:00
parent acf504ce9a
commit e308354e2c

View file

@ -8,19 +8,20 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/5d0d7a21-3a0f-4f36-8cc2-0c2c7520e276";
{ device = "/dev/disk/by-uuid/cdfa19f6-890c-4b35-b02b-f7189f9c3c41";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9F41-6A23";
{ device = "/dev/disk/by-uuid/A96B-3406";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
@ -35,6 +36,5 @@
# networking.interfaces.enp0s31f6.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;
}