This commit is contained in:
iFargle 2023-10-05 15:02:09 +09:00
parent eabf9e5070
commit 85c33fb516
2 changed files with 1 additions and 4 deletions

View file

@ -1,7 +1,5 @@
{ config, lib, pkgs, modulesPath, desktop, username, ... }: { { config, lib, pkgs, modulesPath, desktop, username, ... }: {
imports = [ imports = [
# This machine won't be using secureboot
# ../../common/modules/boot.nix
./disks.nix ./disks.nix
]; ];
nixpkgs.config.allowUnfree = false; nixpkgs.config.allowUnfree = false;

View file

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