Commit d031d27

HPCesia <me@hpcesia.com>
2026-07-22 04:34:43
Fix GPG Key option schema
1 parent e595a58
Changed files (1)
modules
modules/users/schema.nix
@@ -36,9 +36,9 @@ in {
                 default = null;
                 description = "Avatar for the user";
               };
-              gpgKey = mkOption {
-                type = types.nullOr (types.either types.path types.str);
-                default = null;
+              gpgKeys = mkOption {
+                type = types.listOf (types.either types.path types.str);
+                default = [];
                 description = "GPG key ID for the user";
               };
               sshKeys = mkOption {