From ec765f1b8e67969b54fbb01afe9b91122cf640c3 Mon Sep 17 00:00:00 2001 From: ska Date: Sat, 20 Dec 2025 00:06:03 +0000 Subject: [PATCH] Delete hardware-configuration.nix --- hardware-configuration.nix | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 hardware-configuration.nix diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 98cdde4..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, lib, pkgs, modulesPath, ... }: - -{ - # Enable modules that help with diverse hardware - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - # Avoid hardcoding any filesystems—assume root is found by label or not needed - fileSystems."/" = { - device = "/dev/disk/by-label/NIXOS_USB"; # ← use a consistent label - fsType = "ext4"; - }; - - # Optional: disable swap if not using it (USB + swap = wear) - swapDevices = [ ]; - - # Let NixOS auto-detect GPU, network, etc. - services.xserver.videoDrivers = [ ]; # auto-detected - - # Ensure firmware for common hardware is included - hardware.enableAllFirmware = true; - hardware.enableRedistributableFirmware = true; -} \ No newline at end of file