From 002a8519d034973b7e6db8e8cb446e3b4141d3f6 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sat, 7 Jun 2025 17:17:47 -0500 Subject: [PATCH] add some dirs to persist --- configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 082e313..905fab1 100755 --- a/configuration.nix +++ b/configuration.nix @@ -23,6 +23,14 @@ fileSystems."/persist".neededForBoot = true; + environment.persistence."/nix/persist" = { + directories = [ + "/etc/nixos" + "/var/log" + "/var/db/sudo/lectured" + ]; + }; + # needed to allowOther in home.nix programs.fuse.userAllowOther = true;