Fix deprecation

types.string is deprecated
This commit is contained in:
Jakob Lechner 2024-03-06 23:07:39 +00:00
parent 3cb035de5e
commit af9856537e

View file

@ -3,11 +3,11 @@
{
options.fablab.pubkeys = with lib.types; {
users = lib.mkOption {
type = attrsOf (listOf string);
type = attrsOf (listOf str);
description = "pubkeys for a specific user";
};
groups = lib.mkOption {
type = attrsOf (listOf string);
type = attrsOf (listOf str);
description = "pubkeys for a group of users";
};
};