summaryrefslogtreecommitdiff
path: root/impermanence.nix
diff options
context:
space:
mode:
Diffstat (limited to 'impermanence.nix')
-rw-r--r--impermanence.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/impermanence.nix b/impermanence.nix
index 3fe347a..ae62f3c 100644
--- a/impermanence.nix
+++ b/impermanence.nix
@@ -1,7 +1,7 @@
# sudo mount --ro /dev/nvme0n1p2 ./mnt --mkdir
# ls mnt/old_roots
-{ lib, config, ... }:
+{ lib, config, options, ... }:
let
cfg = config.oden.persist;
in
@@ -11,7 +11,7 @@ in
with types;
{
directories = mkOption {
- type = listOf str;
+ type = listOf (types.oneOf [ str (types.attrsOf types.anything) ]);
default = [ ];
description = "Directories that should be persisted";
};