helm/hardware-configuration.nix

39 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2021-09-11 08:28:10 -07: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 + "/installer/scan/not-detected.nix")
];
2022-03-15 03:36:48 -07:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
2021-09-11 08:28:10 -07:00
boot.initrd.kernelModules = [ "dm-snapshot" ];
2022-03-15 03:36:48 -07:00
boot.kernelModules = [ "kvm-intel" ];
2021-09-11 08:28:10 -07:00
boot.extraModulePackages = [ ];
fileSystems."/" =
2022-03-15 03:36:48 -07:00
{ device = "/dev/disk/by-uuid/ade0752d-84d3-4e39-865b-9027ba2d5c67";
fsType = "ext4";
2021-09-11 08:28:10 -07:00
};
2022-03-15 03:36:48 -07:00
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/1715-278E";
fsType = "vfat";
2021-09-11 08:28:10 -07:00
};
2022-03-15 03:36:48 -07:00
fileSystems."/data" =
{ device = "/dev/disk/by-uuid/3276a297-9ee4-4998-b262-1ed100366c06";
fsType = "ext4";
2021-09-11 08:28:10 -07:00
};
2022-03-15 03:36:48 -07:00
boot.initrd.luks.devices."crypted-data".device = "/dev/disk/by-uuid/8a317bf4-fe13-4334-a6df-5fe5a5048b5e";
2021-09-11 08:28:10 -07:00
swapDevices =
2022-03-15 03:36:48 -07:00
[ { device = "/dev/disk/by-uuid/b790abb4-ba5f-4476-8f09-b0fc575414aa"; }
2021-09-11 08:28:10 -07:00
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}