This commit is contained in:
iFargle 2023-10-05 13:08:37 +09:00
parent 0198b29594
commit a8b3754dec
2 changed files with 6 additions and 2 deletions

View file

@ -5,7 +5,7 @@
./disks.nix
];
nixpkgs.config.allowUnfree = false;
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
# boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "virtio_pci" "virtio_blk" "sr_mod" ];
boot.initrd.kernelModules = [ ];

View file

@ -1,5 +1,9 @@
{
boot.loader.grub.device = "/dev/vda";
boot.loader.grub = {
enable = true;
version = 2;
device = "/dev/sda";
};
boot.initrd.luks.devices."vda2".device = "/dev/vda2";
services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly";