From 9345729ae2130c9799f1dec970a52b7628b0c0af Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 19 Jan 2025 19:40:01 +0000 Subject: [PATCH] MODIFY: persist admin homedir --- hosts/common/users/admin/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/common/users/admin/default.nix b/hosts/common/users/admin/default.nix index a7b4226..0b2a466 100644 --- a/hosts/common/users/admin/default.nix +++ b/hosts/common/users/admin/default.nix @@ -20,6 +20,12 @@ in ]; }; + environment.persistence."/persist" = { + directories = [ + "/home/${username}" + ]; + }; + sops.secrets = { "passwords/${username}" = { sopsFile = "${secretsFile}";