2021-05-30 19:33:09 +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.
|
|
|
|
|
{
|
2023-01-28 21:27:52 +00:00
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
2022-04-30 21:07:18 +00:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2021-05-30 19:33:09 +00:00
|
|
|
|
|
2023-01-28 21:27:52 +00:00
|
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
|
boot.extraModulePackages = [];
|
2021-05-30 19:33:09 +00:00
|
|
|
|
|
2022-04-30 21:07:18 +00:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/abc3fe04-368e-46eb-8c7a-3a829bb2deab";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2021-05-30 19:33:09 +00:00
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/aed21f8d-8e15-4f43-8710-460cb36d488b";
|
|
|
|
|
|
2022-04-30 21:07:18 +00:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/3B67-0CAB";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2021-05-30 19:33:09 +00:00
|
|
|
|
|
2022-04-30 21:07:18 +00:00
|
|
|
|
swapDevices = [
|
|
|
|
|
{
|
|
|
|
|
device = "/swapfile";
|
2023-01-28 21:27:52 +00:00
|
|
|
|
size = 18 * 1024; # 18 GB
|
2022-04-30 21:07:18 +00:00
|
|
|
|
}
|
|
|
|
|
];
|
2021-05-30 19:33:09 +00:00
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
}
|