nixconfigs/hardware-configuration.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2018-09-25 23:09:53 +02: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/0cd6d909-dba3-4542-a3b3-bffa16f6ce78";
fsType = "btrfs";
options = [ "subvol=nixos_root" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/0cd6d909-dba3-4542-a3b3-bffa16f6ce78";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/B8CE-E83B";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/d6dce42c-56c6-4477-b4fe-d1b35c92bc38"; }
];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}