From b42207882e01209621927f65782a9c3cedfbee54 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 8 Jul 2023 02:06:18 +0000 Subject: [PATCH] programs.persist: fix to allow any options that underlying persist allows --- modules/programs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs.nix b/modules/programs.nix index cdd4372e..ae3ed666 100644 --- a/modules/programs.nix +++ b/modules/programs.nix @@ -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"; };