programs.persist: fix to allow any options that underlying persist allows

This commit is contained in:
Colin 2023-07-08 02:06:18 +00:00
parent b8ccc271fc
commit b42207882e

View File

@ -81,12 +81,12 @@ let
};
persist = {
plaintext = mkOption {
type = types.listOf types.str;
type = types.listOf (types.either types.attrs types.str);
default = [];
description = "list of home-relative paths to persist for this package";
};
private = mkOption {
type = types.listOf types.str;
type = types.listOf (types.either types.attrs types.str);
default = [];
description = "list of home-relative paths to persist (in encrypted format) for this package";
};