From a8b3754dec4f9b86e8f82bfa1e20f738da234965 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 5 Oct 2023 13:08:37 +0900 Subject: [PATCH] Test --- nixos/hosts/osaka-vultr-01/default.nix | 2 +- nixos/hosts/osaka-vultr-01/disks.nix | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/osaka-vultr-01/default.nix b/nixos/hosts/osaka-vultr-01/default.nix index 4a18e9eb..4937447f 100644 --- a/nixos/hosts/osaka-vultr-01/default.nix +++ b/nixos/hosts/osaka-vultr-01/default.nix @@ -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 = [ ]; diff --git a/nixos/hosts/osaka-vultr-01/disks.nix b/nixos/hosts/osaka-vultr-01/disks.nix index 370e3505..840f6117 100644 --- a/nixos/hosts/osaka-vultr-01/disks.nix +++ b/nixos/hosts/osaka-vultr-01/disks.nix @@ -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";