Home

tsnet-serve-nix @main - refs - log -
-
https://git.jolheiser.com/tsnet-serve-nix.git
tsnet-serve flake, package, and module
tree log patch
fix: home for users Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQMKwa9AYo0+C08vBOJsvCqpSJEyf7ycdInCLi8SGiDGaZQLQj8DFcJGvEBoHYBqLiz LKW+6i5is9Pw1V7/1ixws= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
4 months ago
1 changed files, 2 additions(+), 0 deletions(-)
M module/default.nix -> module/default.nix
diff --git a/module/default.nix b/module/default.nix
index 6008e1995d0b1baa940507033be548bca39cb61f..a359d51aac41fcb03e27f85a4f4a41a6b7b5bce0 100644
--- a/module/default.nix
+++ b/module/default.nix
@@ -94,6 +94,8 @@       name: instanceCfg:
         lib.nameValuePair instanceCfg.user {
           isSystemUser = true;
           group = instanceCfg.user;
+          home = instanceCfg.stateDir;
+          createHome = true;
         }
     ) (lib.filterAttrs (name: instanceCfg: instanceCfg.enable) cfg.instances);