diff options
author | lassulus <lassulus@lassul.us> | 2019-05-29 15:38:23 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-05-29 15:54:14 +0200 |
commit | 4c7f444c70c48b0230019d4b2e7f17519a4f3d1a (patch) | |
tree | aaab6d727801bd637c74560859ad50c70861fa48 /lass | |
parent | ab0d80fde8a990c3522ac13e4ddd91c23e349391 (diff) |
l radio: secure radio mounts with password
Diffstat (limited to 'lass')
-rw-r--r-- | lass/2configs/radio.nix | 11 |
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> ''; }; |