Create private directory for temporary files

This commit is contained in:
Mikael Voss 2024-08-06 22:06:44 +00:00
parent 3455a2d6b0
commit 26a00db2f9
No known key found for this signature in database

View file

@ -54,6 +54,10 @@ in {
fend
];
home.sessionVariables = {
TMPDIR = "$XDG_RUNTIME_DIR/tmp";
};
editorconfig = {
enable = true;
settings = {
@ -321,6 +325,7 @@ in {
systemd.user.tmpfiles.rules = [
"d %t/ssh 700"
"d %t/tmp 700 - - 24h"
];
xdg.userDirs =