era-configuration-nix/hardware-configuration.nix

45 lines
1.2 KiB
Nix
Raw Normal View History

2017-02-28 22:09:06 +01:00
# 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, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/3ed3af55-46f5-4b81-9567-7d13af93ca9b";
fsType = "btrfs";
options = [ "subvol=@root" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/3ed3af55-46f5-4b81-9567-7d13af93ca9b";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/3ed3af55-46f5-4b81-9567-7d13af93ca9b";
fsType = "btrfs";
options = [ "subvol=@var" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A916-64F5";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/b082c75e-214c-4e4a-8604-750659c4cb94"; }
];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = "powersave";
}