diff options
author | Franck Cuny <franck@fcuny.net> | 2022-07-20 17:46:43 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-07-20 17:49:12 -0700 |
commit | c327863fd91f8d2040d9dd92d221927211b682cf (patch) | |
tree | 2f4d717c1db98dd94303f1e7ff0f194c32d7255d | |
parent | docs(gerrit): how to edit the secrets (diff) | |
download | world-c327863fd91f8d2040d9dd92d221927211b682cf.tar.gz |
fix(modules/secrets): call correct function for group validation
Change-Id: I84deb43c422668719157a5027e8dbea9a1ec92cf Reviewed-on: https://cl.fcuny.net/c/world/+/662 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
-rw-r--r-- | modules/secrets/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/secrets/default.nix b/modules/secrets/default.nix index 4660025..d4a2fd8 100644 --- a/modules/secrets/default.nix +++ b/modules/secrets/default.nix @@ -25,7 +25,7 @@ in } // lib.optionalAttrs (attrs ? owner) { owner = lib.mkDefault (userIfExists attrs.owner); } // lib.optionalAttrs (attrs ? group) { - group = lib.mkDefault (userIfExists attrs.group); + group = lib.mkDefault (groupExists attrs.group); } // lib.optionalAttrs (attrs ? mode) { inherit (attrs) mode; } // lib.optionalAttrs (attrs ? path) { |