nixos-configuration/modules/hardware/vinzenz-lpt2.nix

43 lines
863 B
Nix
Raw Normal View History

2024-02-05 22:44:35 +01:00
{...}: {
config = {
my.hardware = {
enableCommonDesktopSettings = true;
intel = {
cpu = true;
xe = true;
};
2024-02-05 21:46:55 +01:00
};
2024-02-05 22:44:35 +01:00
boot.initrd = {
availableKernelModules = ["xhci_pci" "thunderbolt" "nvme"];
luks.devices = {
"luks-2c654ff2-3c42-48d3-a1e3-9545679afaa3" = {
device = "/dev/disk/by-uuid/2c654ff2-3c42-48d3-a1e3-9545679afaa3";
};
};
2024-02-05 21:46:55 +01:00
};
2024-02-05 22:44:35 +01:00
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/e4dad0c8-26a1-45e9-bbd9-48565eb6574e";
fsType = "btrfs";
options = ["subvol=@"];
};
"/boot" = {
device = "/dev/disk/by-uuid/E2B7-2BC1";
fsType = "vfat";
};
};
2024-02-05 21:46:55 +01:00
2024-02-23 22:31:46 +01:00
swapDevices = [
{
device = "/var/lib/swapfile";
size = 32 * 1024;
}
];
2024-02-09 18:51:59 +01:00
services.thermald.enable = true;
2024-02-05 22:44:35 +01:00
};
2024-02-05 21:46:55 +01:00
}