From 529714f1a8a2c7241436ed6de71a7b0b88117137 Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Tue, 6 Jan 2026 14:44:17 +0100 Subject: add minecraft --- impermanence.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'impermanence.nix') 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"; }; -- cgit v1.2.3