diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:26:06 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:26:06 +0000 |
commit | 95bc01f27764cfdfc6229ffe3d59517dea0c9e5b (patch) | |
tree | e0bace9349f10118e79023ec1c39dba259623f9c /nix-conf/machines/egalmoth/hardware-configuration.nix | |
parent | ce9c53858fab4ef08ba3e683f6c29cd86a7be10d (diff) | |
download | dotfiles-95bc01f27764cfdfc6229ffe3d59517dea0c9e5b.tar.gz |
Reformat with newer nixfmt
Diffstat (limited to 'nix-conf/machines/egalmoth/hardware-configuration.nix')
-rw-r--r-- | nix-conf/machines/egalmoth/hardware-configuration.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/nix-conf/machines/egalmoth/hardware-configuration.nix b/nix-conf/machines/egalmoth/hardware-configuration.nix index 4d15bf4..e5cb5f7 100644 --- a/nix-conf/machines/egalmoth/hardware-configuration.nix +++ b/nix-conf/machines/egalmoth/hardware-configuration.nix @@ -1,13 +1,25 @@ # 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") ]; - boot.initrd.availableKernelModules = - [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "thunderbolt" + "nvme" + "usb_storage" + "sd_mod" + "rtsx_pci_sdmmc" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -22,8 +34,7 @@ fsType = "vfat"; }; - swapDevices = - [{ device = "/dev/disk/by-uuid/a130cacb-d7e0-4fb8-a312-a34d19f00796"; }]; + swapDevices = [ { device = "/dev/disk/by-uuid/a130cacb-d7e0-4fb8-a312-a34d19f00796"; } ]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; } |