diff options
| author | tom barrett <tom@tombarrett.xyz> | 2026-01-03 11:45:26 +0100 |
|---|---|---|
| committer | tom barrett <tom@tombarrett.xyz> | 2026-01-03 11:45:26 +0100 |
| commit | 37ecd053b384b711e68c3192b85bd00bb8661a0a (patch) | |
| tree | b271b7d6bc3fded37296df1fc3c95818e4e9d12f /hardware-configuration.nix | |
| parent | 8578cee5c9349bdb2e562fce692321e27212c852 (diff) | |
Diffstat (limited to 'hardware-configuration.nix')
| -rw-r--r-- | hardware-configuration.nix | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix index a09ff30..fdfe407 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -4,18 +4,24 @@ { config, lib, - pkgs, modulesPath, ... -}: { +}: +{ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = ["ehci_pci" "ahci" "sd_mod" "sr_mod" "sdhci_pci"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; + boot.initrd.availableKernelModules = [ + "ehci_pci" + "ahci" + "sd_mod" + "sr_mod" + "sdhci_pci" + ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-uuid/4a58083f-189f-41ff-a437-b4b78b04c686"; @@ -29,7 +35,7 @@ fsType = "ext4"; }; - swapDevices = []; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's |
