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";