diff options
| -rw-r--r-- | hosts/underworld/hardware.nix | 44 | ||||
| -rw-r--r-- | share/nixos-modules/iwd-ext.nix | 2 |
2 files changed, 31 insertions, 15 deletions
diff --git a/hosts/underworld/hardware.nix b/hosts/underworld/hardware.nix index 553036a..5cf84d9 100644 --- a/hosts/underworld/hardware.nix +++ b/hosts/underworld/hardware.nix @@ -1,28 +1,44 @@ # 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, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "uas" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + "ahci" + "uas" + "usbhid" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/172392de-fbd1-4710-a994-341aab3dec7c"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/172392de-fbd1-4710-a994-341aab3dec7c"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/5BC6-0D93"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/5BC6-0D93"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" + ]; + }; swapDevices = [ ]; diff --git a/share/nixos-modules/iwd-ext.nix b/share/nixos-modules/iwd-ext.nix index 754be40..8d07b57 100644 --- a/share/nixos-modules/iwd-ext.nix +++ b/share/nixos-modules/iwd-ext.nix @@ -16,7 +16,7 @@ let cfg = config.networking.wireless.iwd-ext; ini = pkgs.formats.ini { }; defaults = { - # without UseDefaultInterface, sometimes wlan0 simply goes AWOL with + # without UseDefaultInterface, sometimes wlan0 simply goes AWOL with # NetworkManager # https://iwd.wiki.kernel.org/interface_lifecycle#interface_management_in_iwd General.UseDefaultInterface = |
