summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-05-29 15:38:23 +0200
committerlassulus <lassulus@lassul.us>2019-05-29 15:54:14 +0200
commit4c7f444c70c48b0230019d4b2e7f17519a4f3d1a (patch)
treeaaab6d727801bd637c74560859ad50c70861fa48 /lass
parentab0d80fde8a990c3522ac13e4ddd91c23e349391 (diff)
l radio: secure radio mounts with password
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/radio.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix
index 7960db564..49d093a6d 100644
--- a/lass/2configs/radio.nix
+++ b/lass/2configs/radio.nix
@@ -100,9 +100,14 @@ in {
hostname = "radio.lassul.us";
admin.password = admin-password;
extraConf = ''
- <authentication>
- <source-password>${source-password}</source-password>
- </authentication>
+ <mount>
+ <mount-name>/radio.mp3</mount-name>
+ <password>${source-password}</password>
+ </mount>
+ <mount>
+ <mount-name>/radio.ogg</mount-name>
+ <password>${source-password}</password>
+ </mount>
'';
};