From dabebb5f1dc93cc6145bcd48b0aa29a5480e2524 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 7 Sep 2024 22:07:01 +0800 Subject: [PATCH] nixos/state/paths: update value type --- modules/nixos/_private/state/paths.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/_private/state/paths.nix b/modules/nixos/_private/state/paths.nix index 7661e667..5e25c377 100644 --- a/modules/nixos/_private/state/paths.nix +++ b/modules/nixos/_private/state/paths.nix @@ -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.