l radio: secure radio mounts with password

This commit is contained in:
lassulus 2019-05-29 15:38:23 +02:00
parent ab0d80fde8
commit 4c7f444c70

View File

@ -100,9 +100,14 @@ in {
hostname = "radio.lassul.us"; hostname = "radio.lassul.us";
admin.password = admin-password; admin.password = admin-password;
extraConf = '' extraConf = ''
<authentication> <mount>
<source-password>${source-password}</source-password> <mount-name>/radio.mp3</mount-name>
</authentication> <password>${source-password}</password>
</mount>
<mount>
<mount-name>/radio.ogg</mount-name>
<password>${source-password}</password>
</mount>
''; '';
}; };