From bea09f2582b1c817167017d2df69ffc2802df04e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 2 May 2024 13:08:56 +0200 Subject: [PATCH] Explain change of code --- lib/modules/custom-build-vm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";