programs.persist: fix to allow any options that underlying persist allows
This commit is contained in:
parent
b8ccc271fc
commit
b42207882e
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user