2021-12-29 18:49:51 +01:00
|
|
|
{
|
2022-03-10 21:52:12 +01:00
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
2023-02-22 10:02:55 +01:00
|
|
|
modulesPath,
|
2022-03-10 21:52:12 +01:00
|
|
|
...
|
|
|
|
|
}: {
|
2023-02-22 10:02:55 +01:00
|
|
|
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
2019-01-30 17:08:07 +01:00
|
|
|
|
2021-12-29 18:49:51 +01:00
|
|
|
boot = {
|
2022-03-10 21:52:12 +01:00
|
|
|
initrd.availableKernelModules = ["ahci" "xhci_pci" "usb_storage" "sd_mod" "sdhci_acpi" "rtsx_usb_sdmmc"];
|
|
|
|
|
kernelModules = ["kvm-intel"];
|
|
|
|
|
extraModulePackages = [];
|
2024-11-05 09:09:45 +01:00
|
|
|
supportedFilesystems = ["ntfs"];
|
2021-12-29 18:49:51 +01:00
|
|
|
loader = {
|
|
|
|
|
systemd-boot = {
|
|
|
|
|
enable = true;
|
|
|
|
|
configurationLimit = 5;
|
|
|
|
|
};
|
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
|
};
|
2020-06-10 17:37:25 +02:00
|
|
|
};
|
2019-01-30 17:08:07 +01:00
|
|
|
|
2021-12-29 18:49:51 +01:00
|
|
|
fileSystems = {
|
|
|
|
|
"/" = {
|
2024-07-10 10:27:30 +02:00
|
|
|
device = "/dev/disk/by-uuid/5dcaa7fe-08e7-46a6-ac93-b267eeb144eb";
|
2021-12-29 18:49:51 +01:00
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
"/boot" = {
|
2024-07-10 10:27:30 +02:00
|
|
|
device = "/dev/disk/by-uuid/CE3B-F4C6";
|
2021-12-29 18:49:51 +01:00
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2020-06-10 17:37:25 +02:00
|
|
|
};
|
2019-01-30 17:08:07 +01:00
|
|
|
|
2024-07-10 10:27:30 +02:00
|
|
|
swapDevices =
|
|
|
|
|
[ { device = "/dev/disk/by-uuid/7b2a3e4c-e53f-4c53-b599-b6d6cff49f1f"; }
|
|
|
|
|
];
|
2019-01-30 17:08:07 +01:00
|
|
|
|
2022-07-19 22:00:36 +02:00
|
|
|
nix.settings.max-jobs = lib.mkDefault 4;
|
2019-01-30 17:08:07 +01:00
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
}
|