use type nonEmptyStr instead of str when possible

This commit is contained in:
SebastianStork 2025-07-28 21:54:03 +02:00
parent 37d6ce2e44
commit 652a6c4a97
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ in
options.custom.wifi = {
enable = lib.mkEnableOption "";
networks = lib.mkOption {
type = lib.types.listOf lib.types.str;
type = lib.types.listOf lib.types.nonEmptyStr;
default = config.custom.sops.secrets.iwd |> lib.attrNames;
};
};