nixos-config/hardware-configuration/T490s-Laptop.nix

33 lines
960 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.
{ config, lib, pkgs, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2020-02-28 11:43:35 +04:00
{ device = "/dev/disk/by-uuid/7c16955c-8414-4971-bf37-6492e8c0cb61";
2020-02-17 17:00:59 +04:00
fsType = "ext4";
};
2020-02-28 11:43:35 +04:00
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/234de44d-b2d4-44d0-a4e3-b3ef6b159424";
2020-02-17 17:00:59 +04:00
fileSystems."/boot" =
2020-02-28 11:43:35 +04:00
{ device = "/dev/disk/by-uuid/66D2-DC8B";
2020-02-17 17:00:59 +04:00
fsType = "vfat";
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 8;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}