Explain change of code

This commit is contained in:
Manuel Thalmann 2024-05-02 13:08:56 +02:00
parent 83bfad9a1b
commit bea09f2582

View file

@ -82,7 +82,8 @@ in {
# Prevent GRUB2 errors in `nixos-rebuild build-vm-with-bootloader` # Prevent GRUB2 errors in `nixos-rebuild build-vm-with-bootloader`
boot.loader.efi.efiSysMountPoint = lib.mkVMOverride "/boot"; 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 { users.sopsPasswordOverride = lib.mkIf overrideSops {
enable = true; enable = true;
password = "admin"; password = "admin";