From c327863fd91f8d2040d9dd92d221927211b682cf Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 20 Jul 2022 17:46:43 -0700 Subject: 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 --- modules/secrets/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.4.1