summaryrefslogtreecommitdiff
path: root/nixos/hardware-configuration.nix
diff options
context:
space:
mode:
authoralex <[email protected]>2026-10-18 18:06:26 +0200
committeralex <[email protected]>2026-10-18 18:06:26 +0200
commite9b13d99836c5ccfaf8b878fd02d7f94c51e407b (patch)
tree3066d38b7fda7e73973d139c59c1d3b2c386c1db /nixos/hardware-configuration.nix
parent6f2ceddd86b9b4b779f7ef2e80a42d9bdb8694dd (diff)
downloadnixos-e9b13d99836c5ccfaf8b878fd02d7f94c51e407b.tar.xz
nixos-e9b13d99836c5ccfaf8b878fd02d7f94c51e407b.zip
modularized the setup more
Diffstat (limited to 'nixos/hardware-configuration.nix')
-rw-r--r--nixos/hardware-configuration.nix33
1 files changed, 0 insertions, 33 deletions
diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix
deleted file mode 100644
index 0ce8cdf..0000000
--- a/nixos/hardware-configuration.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-# Do not modify this file! It was generated by ‘nixos-generate-config’
-# and may be overwritten by future invocations. Please make changes
-# to /etc/nixos/configuration.nix instead.
-{ config, lib, pkgs, modulesPath, ... }:
-
-{
- imports =
- [ (modulesPath + "/installer/scan/not-detected.nix")
- ];
-
- boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-amd" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/95d04e16-97f5-4dda-bd99-eebcfece01f7";
- fsType = "ext4";
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/EE61-21CA";
- fsType = "vfat";
- options = [ "fmask=0077" "dmask=0077" ];
- };
-
- swapDevices =
- [ { device = "/dev/disk/by-uuid/a0e6ef0c-6429-466c-964b-67b4656e8027"; }
- ];
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}