mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
persistence: Copy directories option type from upstream
This commit is contained in:
parent
809bf48e9d
commit
b7db8d2fd8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = [ ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue