nixos/state/paths: update value type

This commit is contained in:
Gabriel Arazas 2024-09-07 22:07:01 +08:00
parent 6cf57d14cf
commit dabebb5f1d
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -6,7 +6,7 @@
directoriesSubmodule = { lib, ... }: {
options = {
paths = lib.mkOption {
type = with lib.types; attrsOf (listOf str);
type = with lib.types; attrsOf (either path (listOf str));
description = ''
A set of directories to share its value to various parts of the
system.