mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
systemd-tmpfiles-clean: enable for user
This commit is contained in:
@@ -6,6 +6,16 @@
|
|||||||
}: let
|
}: let
|
||||||
inherit (import ../lib) tmpfilesConfig;
|
inherit (import ../lib) tmpfilesConfig;
|
||||||
in {
|
in {
|
||||||
|
systemd.user.services.systemd-tmpfiles-clean = {
|
||||||
|
enable = true;
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
startAt = "daily";
|
||||||
|
script = "systemd-tmpfiles --user --clean";
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user.tmpfiles.users.me.rules = map tmpfilesConfig [
|
systemd.user.tmpfiles.users.me.rules = map tmpfilesConfig [
|
||||||
{
|
{
|
||||||
type = "d";
|
type = "d";
|
||||||
|
|||||||
Reference in New Issue
Block a user