tmpfiles doesn't exist outside linux

This commit is contained in:
Peter Selby 2023-11-06 19:10:45 -08:00
parent 08a4c5c9ea
commit 9a890b643f
1 changed files with 2 additions and 2 deletions

View File

@ -231,6 +231,6 @@ in {
};
};
systemd.user.tmpfiles.rules =
map (dir: "d ${home-dir}/${dir} 700 niten - - -") ensure-directories;
systemd.user.tmpfiles.rules = optionals isLinux
(map (dir: "d ${home-dir}/${dir} 700 niten - - -") ensure-directories);
}