From eadb1a52c0eb2ab6e21b46dbb24561293f2a027f Mon Sep 17 00:00:00 2001 From: elwrcl Date: Sun, 19 Apr 2026 00:59:03 +0300 Subject: [PATCH] removed unnecessary swap line Signed-off-by: elwrcl --- hardware.nix | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/hardware.nix b/hardware.nix index 9d6d3fc..8f8cb9c 100644 --- a/hardware.nix +++ b/hardware.nix @@ -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; }