about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/secrets/default.nix2
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) {