From 85c33fb516d7f3bb7a57ac5b981d8665e0bf99d9 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 5 Oct 2023 15:02:09 +0900 Subject: [PATCH] Test --- nixos/hosts/osaka-vultr-01/default.nix | 2 -- nixos/hosts/osaka-vultr-01/disks.nix | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) 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";