This commit is contained in:
Elias Gasparis 2025-06-05 09:51:42 +08:00
parent 1d57dd5bc2
commit 2ba8a7b552
6 changed files with 33 additions and 11 deletions

View file

@ -13,25 +13,24 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
#boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_6_14;
boot.kernelPackages = pkgs.linuxPackages_latest;
#boot.kernelPackages = pkgs.linuxPackages_6_14;
fileSystems."/" =
{ device = "/dev/disk/by-uuid/67519a81-c750-4cab-9e25-1f709b0b90de";
{ device = "/dev/disk/by-uuid/27986c46-1dd1-4444-b732-7e7c36f2ed29";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-900b6217-47c2-40e5-b14d-de4874ade307".device = "/dev/disk/by-uuid/900b6217-47c2-40e5-b14d-de4874ade307";
boot.initrd.luks.devices."luks-a803c4bc-5516-4caa-b837-60735dcef39b".device = "/dev/disk/by-uuid/a803c4bc-5516-4caa-b837-60735dcef39b";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/B738-2CA0";
{ device = "/dev/disk/by-uuid/62BC-E36E";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/5eec28f1-ee73-4e9f-a6ae-9234f5dbb0fd"; }
[ { device = "/dev/disk/by-uuid/ca864c9f-4435-489f-af33-2c0d5876d586"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@ -43,4 +42,7 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.enableAllFirmware = true;
}