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

34 lines
954 B
Nix
Raw Permalink Normal View History

2020-11-09 23:43:06 +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, inputs, ... }:
{
imports =
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
2020-11-10 14:45:36 +04:00
boot.initrd.availableKernelModules =
[ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
2020-11-09 23:43:06 +04:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2021-06-08 20:35:21 +04:00
fileSystems."/persist" = {
2020-11-10 14:45:36 +04:00
device = "/dev/disk/by-uuid/e50bd1d6-3613-465e-895a-9dde6ffaad46";
fsType = "ext4";
2021-06-08 20:35:21 +04:00
neededForBoot = true;
2020-11-10 14:45:36 +04:00
};
2020-11-09 23:43:06 +04:00
2020-11-10 14:45:36 +04:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/621A-6414";
fsType = "vfat";
};
2020-11-09 23:43:06 +04:00
swapDevices = [ ];
2020-11-10 14:45:36 +04:00
hardware.video.hidpi.enable = lib.mkDefault true;
2020-11-09 23:43:06 +04:00
nix.maxJobs = lib.mkDefault 8;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}