nixos-config/machines/T420-Laptop/hardware-configuration.nix

34 lines
931 B
Nix
Raw Normal View History

2020-02-17 17:00:59 +04: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.
2021-01-22 21:44:23 +04:00
{ config, lib, pkgs, modulesPath, ... }:
2020-02-17 17:00:59 +04:00
{
2021-01-22 21:44:23 +04:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2020-02-17 17:00:59 +04:00
2021-01-22 21:44:23 +04:00
boot.initrd.availableKernelModules =
[ "ehci_pci" "ahci" "uas" "sd_mod" "sdhci_pci" ];
2020-02-17 17:00:59 +04:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2021-01-22 21:44:23 +04:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/29edff1b-4457-4d0c-9dfc-2cf5b6afcb46";
fsType = "ext4";
};
2020-02-17 17:00:59 +04:00
2021-01-22 21:44:23 +04:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/4976-D10F";
fsType = "vfat";
};
fileSystems."/var" = {
device = "/dev/disk/by-uuid/ad3f31e2-e6d1-43a0-a1ef-7f493fd3a9e2";
fsType = "ext4";
};
2020-02-17 17:00:59 +04:00
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}