summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2023-01-07 22:39:58 +0100
committerlassulus <lassulus@lassul.us>2023-01-07 22:39:58 +0100
commit060080342a214bd88b06b301ce3360671fe45711 (patch)
tree7e691bc7be2e237390f11cd20d41ad6ede7535b9 /lass/2configs
parentf611ce80c94ff85e8be8abd9d607494464e1eff8 (diff)
l radio: use icecast 2.5-beta3
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/radio/default.nix21
1 files changed, 20 insertions, 1 deletions
diff --git a/lass/2configs/radio/default.nix b/lass/2configs/radio/default.nix
index e883ed91b..3eab68e9f 100644
--- a/lass/2configs/radio/default.nix
+++ b/lass/2configs/radio/default.nix
@@ -128,14 +128,33 @@ in {
serviceConfig.User = lib.mkForce "radio";
};
+ nixpkgs.config.packageOverrides = opkgs: {
+ icecast = opkgs.icecast.overrideAttrs (old: rec {
+ version = "2.5-beta3";
+
+ src = pkgs.fetchurl {
+ url = "http://downloads.xiph.org/releases/icecast/icecast-${version}.tar.gz";
+ sha256 = "sha256-4FDokoA9zBDYj8RAO/kuTHaZ6jZYBLSJZiX/IYFaCW8=";
+ };
+
+ buildInputs = old.buildInputs ++ [ pkgs.pkg-config ];
+ });
+ };
services.icecast = {
enable = true;
hostname = "radio.lassul.us";
admin.password = "hackme";
extraConf = ''
<authentication>
- <source-password>hackme</source-password>
+ <source-password>hackme</source-password>
+ <admin-user>admin</admin-user>
+ <admin-password>hackme</admin-password>
</authentication>
+ <logging>
+ <accesslog>-</accesslog>
+ <errorlog>-</errorlog>
+ <loglevel>3</loglevel>
+ </logging>
'';
};