dots/hosts/luna/os/boot.nix

38 lines
717 B
Nix
Raw Permalink Normal View History

{ modulesPath, ... }:
2024-05-03 14:35:00 -05:00
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
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 = [ ];
systemd.enable = true;
2024-05-03 14:35:00 -05:00
};
};
}