summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-06-07 08:45:35 +0200
committerlassulus <lassulus@lassul.us>2021-06-07 08:45:35 +0200
commit9d5bedb40485c55eb125c29cd609d725aee2c40c (patch)
treef9f0d49f3426517b92a2b5676050de31abf0086e /lass/2configs
parentfe368cabb7d82eddd2cc0edc7fac362320ad63f7 (diff)
l radio: fix starting with 21.05
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/radio.nix4
1 files changed, 2 insertions, 2 deletions
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 <stockholm/lib>;
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"