home: Set systemd session variables
This commit is contained in:
parent
28e2114a2f
commit
2ffc1c83c7
1 changed files with 5 additions and 0 deletions
|
@ -328,6 +328,11 @@ in {
|
||||||
|
|
||||||
services.ssh-agent.enable = true;
|
services.ssh-agent.enable = true;
|
||||||
|
|
||||||
|
systemd.user.sessionVariables = {
|
||||||
|
TMPDIR = "$XDG_RUNTIME_DIR/tmp";
|
||||||
|
XDG_CACHE_HOME = "\${XDG_CACHE_HOME:-$HOME/.cache}";
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user.tmpfiles.rules = [
|
systemd.user.tmpfiles.rules = [
|
||||||
"d %C 700 - - 90d"
|
"d %C 700 - - 90d"
|
||||||
"d %t/ssh 700"
|
"d %t/ssh 700"
|
||||||
|
|
Loading…
Reference in a new issue