diff --git a/configs/cloud.nix b/configs/cloud.nix index 1677e5f..6a7131f 100644 --- a/configs/cloud.nix +++ b/configs/cloud.nix @@ -6,6 +6,16 @@ }: let inherit (import ../lib) tmpfilesConfig; 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 [ { type = "d";