diff --git a/lib/modules/custom-build-vm.nix b/lib/modules/custom-build-vm.nix index 47f4fe9..e6de82d 100644 --- a/lib/modules/custom-build-vm.nix +++ b/lib/modules/custom-build-vm.nix @@ -82,7 +82,8 @@ in { # Prevent GRUB2 errors in `nixos-rebuild build-vm-with-bootloader` boot.loader.efi.efiSysMountPoint = lib.mkVMOverride "/boot"; - # Override passwords backed by `sops-nix` + # Override passwords backed by `sops-nix` as `nixos-rebuild build-vm-with-bootloader` + # does not seem to play along well with `sops-nix` users.sopsPasswordOverride = lib.mkIf overrideSops { enable = true; password = "admin";