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 = { persist = {
plaintext = mkOption { plaintext = mkOption {
type = types.listOf types.str; type = types.listOf (types.either types.attrs types.str);
default = []; default = [];
description = "list of home-relative paths to persist for this package"; description = "list of home-relative paths to persist for this package";
}; };
private = mkOption { private = mkOption {
type = types.listOf types.str; type = types.listOf (types.either types.attrs types.str);
default = []; default = [];
description = "list of home-relative paths to persist (in encrypted format) for this package"; description = "list of home-relative paths to persist (in encrypted format) for this package";
}; };