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

29 lines
808 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."/" = {
2021-01-23 23:21:51 +04:00
device = "/dev/disk/by-uuid/d3a1bd83-db4d-4e98-9231-b7c7f19a2cfc";
2021-01-22 21:44:23 +04:00
fsType = "ext4";
};
2020-02-17 17:00:59 +04:00
2021-01-22 21:44:23 +04:00
fileSystems."/boot" = {
2021-01-23 23:21:51 +04:00
device = "/dev/disk/by-uuid/D36A-068D";
2021-01-22 21:44:23 +04:00
fsType = "vfat";
};
2020-02-17 17:00:59 +04:00
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}