nixos/specific/laptop/hardware-configuration.nix

31 lines
882 B
Nix
Raw Permalink Normal View History

2020-05-12 08:53:09 +00: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" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8c86ebcd-7bce-4cff-81fc-bd3059b8a1a9";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/227fa1db-887e-4a3f-9b9d-59f425bfe880";
fsType = "ext4";
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 8;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}