diff --git a/nixos/hosts/osaka-vultr-01/default.nix b/nixos/hosts/osaka-vultr-01/default.nix index 4937447f..cdf8b331 100644 --- a/nixos/hosts/osaka-vultr-01/default.nix +++ b/nixos/hosts/osaka-vultr-01/default.nix @@ -1,7 +1,5 @@ { config, lib, pkgs, modulesPath, desktop, username, ... }: { imports = [ - # This machine won't be using secureboot - # ../../common/modules/boot.nix ./disks.nix ]; nixpkgs.config.allowUnfree = false; diff --git a/nixos/hosts/osaka-vultr-01/disks.nix b/nixos/hosts/osaka-vultr-01/disks.nix index 20659ee1..d3c59eb3 100644 --- a/nixos/hosts/osaka-vultr-01/disks.nix +++ b/nixos/hosts/osaka-vultr-01/disks.nix @@ -1,11 +1,10 @@ { boot.loader.grub = { enable = true; - version = 2; device = "/dev/vda"; 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.interval = "weekly";