Ensure home directory exists

This commit is contained in:
niten 2024-06-19 14:37:50 -07:00
parent 98075785a3
commit 46031af2a8
1 changed files with 5 additions and 2 deletions

View File

@ -243,8 +243,11 @@ in {
environmentFiles = [ hostSecrets.parisLdapEnv.target-file ]; environmentFiles = [ hostSecrets.parisLdapEnv.target-file ];
}; };
systemd.services."container@paris".after = systemd = {
optional (!isNull cfg.kerberos) config.fudo.secrets.secret-target; tmpfiles.rules = [ "d ${cfg.state-directory}/home 0700 - - - -" ];
services."container@paris".after =
optional (!isNull cfg.kerberos) config.fudo.secrets.secret-target;
};
containers.paris = { containers.paris = {
autoStart = true; autoStart = true;