From 4c80024d7451635ca2e9ef6abfc0d1d63807da0c Mon Sep 17 00:00:00 2001 From: 514fpv Date: Fri, 2 Feb 2024 07:33:48 +0800 Subject: [PATCH] fix(oci): add system-wide persistence --- global/oci/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/global/oci/default.nix b/global/oci/default.nix index a31bfbdc..60e5e4d1 100644 --- a/global/oci/default.nix +++ b/global/oci/default.nix @@ -16,5 +16,6 @@ in { }; users.home.persist.directories = [ ".local/share/containers" ]; + environment.persistence."/nix/persist/fhs".directories = [ "/var/lib/containers" ]; }; }