home-manager/state/paths: update types to be consistent with NixOS version

This commit is contained in:
Gabriel Arazas 2024-09-13 17:13:16 +08:00
parent a7a5e874a0
commit 61ed2525a6
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -6,7 +6,7 @@
pathsSubmodule = { lib, ... }: {
options = {
paths = lib.mkOption {
type = with lib.types; attrsOf (listOf str);
type = with lib.types; attrsOf (either path (listOf str));
default = { };
description = ''
Set of paths to hold as a single source of truth for path-related