diff options
author | EuAndreh <eu@euandre.org> | 2019-05-30 21:51:13 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-30 21:51:13 -0300 |
commit | f77fc421dee47ddc45106891b155ebd1693fe9ba (patch) | |
tree | 68b37e41f92183e2ed34128d3277063aa98a9056 /nixos/hardware-configuration.nix | |
parent | Annotate files with FIXME (diff) | |
download | dotfiles-f77fc421dee47ddc45106891b155ebd1693fe9ba.tar.gz dotfiles-f77fc421dee47ddc45106891b155ebd1693fe9ba.tar.xz |
Format all Nix code with nixfmt
Diffstat (limited to 'nixos/hardware-configuration.nix')
-rw-r--r-- | nixos/hardware-configuration.nix | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index 2670a09..a07470d 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -4,27 +4,25 @@ { config, lib, pkgs, ... }: { - imports = - [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> - ]; + imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ]; - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = + [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/337ad499-b479-4fe9-ad98-0a9b2b92f4e9"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/337ad499-b479-4fe9-ad98-0a9b2b92f4e9"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/0975-7A26"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/0975-7A26"; + fsType = "vfat"; + }; swapDevices = - [ { device = "/dev/disk/by-uuid/c08158aa-677a-4984-83fe-c938edb7021e"; } - ]; + [{ device = "/dev/disk/by-uuid/c08158aa-677a-4984-83fe-c938edb7021e"; }]; nix.maxJobs = lib.mkDefault 4; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; |