diff options
author | Lassulus <github@lassul.us> | 2024-01-26 10:47:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 10:47:18 +0100 |
commit | da25b2382decfe23df6a4b8e284f524c6baec78f (patch) | |
tree | 258f99c4f322eca79f1e85b6be6a0881a8039b5e /nixos/modules/services/audio | |
parent | 4c2c00adb9e03df33bccd6609b42cbf34ce5f09b (diff) | |
parent | f5d513c5738e630bb053f897b789801bff078ec9 (diff) |
Merge pull request #280373 from h7x4/treewide-use-new-tmpfiles-api
treewide: use new tmpfiles API
Diffstat (limited to 'nixos/modules/services/audio')
-rw-r--r-- | nixos/modules/services/audio/mopidy.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/modules/services/audio/mopidy.nix b/nixos/modules/services/audio/mopidy.nix index 9d8e67b0ea478..8eebf0f9d1e19 100644 --- a/nixos/modules/services/audio/mopidy.nix +++ b/nixos/modules/services/audio/mopidy.nix @@ -70,9 +70,10 @@ in { config = mkIf cfg.enable { - systemd.tmpfiles.rules = [ - "d '${cfg.dataDir}' - mopidy mopidy - -" - ]; + systemd.tmpfiles.settings."10-mopidy".${cfg.dataDir}.d = { + user = "mopidy"; + group = "mopidy"; + }; systemd.services.mopidy = { wantedBy = [ "multi-user.target" ]; |