Infer sopsPasswordOverride
enablement
This commit is contained in:
parent
7fcfd7ecb5
commit
c7d06a8cf3
|
@ -36,7 +36,7 @@
|
|||
# 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 = lib.mkDefault true;
|
||||
enable = lib.mkDefault overrideSops;
|
||||
password = lib.mkDefault "admin";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue