os/hosts/dumpyourvms/hardware-configuration.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2021-06-06 13:22:44 +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, modulesPath, ... }:
{
imports =
[
#(modulesPath + "/hardware/network/broadcom-43xx.nix")
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/17bbb016-d27c-47da-8805-58c6395891e8";
fsType = "ext4";
};
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/c100b9a7-99d7-44d9-b7c2-3892a5f233c4";
fileSystems."/boot" =
2021-06-06 13:22:44 +00:00
{
device = "/dev/disk/by-uuid/06B8-5414";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/02fa042f-7310-4be6-a615-524d5d7dc909"; }];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2021-06-06 13:22:44 +00:00
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
}