Infer sopsPasswordOverride
enablement
This commit is contained in:
parent
7fcfd7ecb5
commit
c7d06a8cf3
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
# Override passwords backed by `sops-nix` as `nixos-rebuild build-vm-with-bootloader`
|
# Override passwords backed by `sops-nix` as `nixos-rebuild build-vm-with-bootloader`
|
||||||
# does not seem to play along well with `sops-nix`
|
# does not seem to play along well with `sops-nix`
|
||||||
users.sopsPasswordOverride = lib.mkIf overrideSops {
|
users.sopsPasswordOverride = lib.mkIf overrideSops {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault overrideSops;
|
||||||
password = lib.mkDefault "admin";
|
password = lib.mkDefault "admin";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue