Ensure home directory exists
This commit is contained in:
parent
98075785a3
commit
46031af2a8
|
@ -243,8 +243,11 @@ in {
|
||||||
environmentFiles = [ hostSecrets.parisLdapEnv.target-file ];
|
environmentFiles = [ hostSecrets.parisLdapEnv.target-file ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."container@paris".after =
|
systemd = {
|
||||||
|
tmpfiles.rules = [ "d ${cfg.state-directory}/home 0700 - - - -" ];
|
||||||
|
services."container@paris".after =
|
||||||
optional (!isNull cfg.kerberos) config.fudo.secrets.secret-target;
|
optional (!isNull cfg.kerberos) config.fudo.secrets.secret-target;
|
||||||
|
};
|
||||||
|
|
||||||
containers.paris = {
|
containers.paris = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
Loading…
Reference in New Issue