Test
This commit is contained in:
parent
0198b29594
commit
a8b3754dec
2 changed files with 6 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
./disks.nix
|
./disks.nix
|
||||||
];
|
];
|
||||||
nixpkgs.config.allowUnfree = false;
|
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.availableKernelModules = [ "ata_piix" "ohci_pci" "virtio_pci" "virtio_blk" "sr_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
|
|
|
@ -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";
|
boot.initrd.luks.devices."vda2".device = "/dev/vda2";
|
||||||
services.btrfs.autoScrub.enable = true;
|
services.btrfs.autoScrub.enable = true;
|
||||||
services.btrfs.autoScrub.interval = "weekly";
|
services.btrfs.autoScrub.interval = "weekly";
|
||||||
|
|
Loading…
Reference in a new issue