diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2026-01-06 14:44:17 +0100 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2026-01-06 15:11:34 +0100 |
| commit | 529714f1a8a2c7241436ed6de71a7b0b88117137 (patch) | |
| tree | 274d445829ef63ded590dd47212bb8d34016e462 /impermanence.nix | |
| parent | 4fb956b33d8a2255b3acc8a00fa89a1747804bd6 (diff) | |
| download | oden-529714f1a8a2c7241436ed6de71a7b0b88117137.tar.gz | |
add minecraft
Diffstat (limited to 'impermanence.nix')
| -rw-r--r-- | impermanence.nix | 4 |
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"; }; |
