From 9d5bedb40485c55eb125c29cd609d725aee2c40c Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 7 Jun 2021 08:45:35 +0200 Subject: l radio: fix starting with 21.05 --- lass/2configs/radio.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lass') diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix index cfc280e50..528d12069 100644 --- a/lass/2configs/radio.nix +++ b/lass/2configs/radio.nix @@ -4,7 +4,6 @@ with import ; let name = "radio"; - mainUser = config.users.extraUsers.mainUser; music_dir = "/home/radio/music"; @@ -128,8 +127,9 @@ in { services.mpd = { enable = true; - group = "radio"; + user = "radio"; musicDirectory = "${music_dir}"; + dataDir = "/home/radio/state"; # TODO create this somwhere extraConfig = '' log_level "default" auto_update "yes" -- cgit v1.2.3