diff --git a/modules/system/persistence.nix b/modules/system/persistence.nix index 594d58b..162acf9 100644 --- a/modules/system/persistence.nix +++ b/modules/system/persistence.nix @@ -13,7 +13,7 @@ in options.custom.persistence = { enable = lib.mkEnableOption ""; directories = lib.mkOption { - type = lib.types.listOf lib.types.path; + type = lib.types.listOf (lib.types.coercedTo lib.types.str (d: { directory = d; }) lib.types.attrs); default = [ ]; }; };