removed unnecessary swap line

Signed-off-by: elwrcl <[email protected]>
This commit is contained in:
elwrcl committed 2026-04-19 00:59:03 +03:00
1 parent 053032c255
commit eadb1a52c0
1 file changed
+19 -4
+19 -4
View File
@@ -1,9 +1,22 @@
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
@@ -16,7 +29,10 @@
fileSystems."/mnt/HDD" = {
device = "/dev/disk/by-uuid/a9d12042-6501-4725-84bd-6e0bdbb64427";
fsType = "ext4";
options = [ "defaults" "nofail" ];
options = [
"defaults"
"nofail"
];
};
fileSystems."/boot" = {
@@ -24,7 +40,6 @@
fsType = "vfat";
};
swapDevices = [ ];
networking.useDHCP = lib.mkDefault true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}