2024-08-25 00:26:25 -05:00
|
|
|
{ modulesPath, ... }:
|
2024-05-03 14:35:00 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
|
2024-08-25 00:26:25 -05:00
|
|
|
services.btrfs-rollback = {
|
|
|
|
enable = true;
|
|
|
|
diskLabel = "NixOS-Primary";
|
|
|
|
subvolume = "root";
|
|
|
|
snapshot = "root-base";
|
|
|
|
};
|
|
|
|
|
2024-05-03 14:35:00 -05:00
|
|
|
boot = {
|
|
|
|
tmp = {
|
|
|
|
useTmpfs = true;
|
|
|
|
cleanOnBoot = true;
|
|
|
|
};
|
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
kernelParams = [ "audit=1" ];
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = [
|
|
|
|
"xhci_pci"
|
|
|
|
"ahci"
|
|
|
|
"nvme"
|
|
|
|
"uas"
|
|
|
|
"sd_mod"
|
|
|
|
];
|
|
|
|
kernelModules = [ ];
|
2024-08-25 00:26:25 -05:00
|
|
|
systemd.enable = true;
|
2024-05-03 14:35:00 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|