diff --git a/home/services/mpd.nix b/home/services/mpd.nix index 4aac647..494502c 100644 --- a/home/services/mpd.nix +++ b/home/services/mpd.nix @@ -100,8 +100,8 @@ in }; }; - systemd.user.tmpfiles.rules = [ - "d ${cfg.dataDir} - ${config.home.username} - - -" - ]; + systemd.user.tmpfiles.settings."10-mpd".${cfg.dataDir}."d" = { + user = config.home.username; + }; }