This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

configs.snapserver, configs.snapclient: remove, replaced by the gg23 audio hub

-60
-13
configs/snapclient.nix
··· 1 - { config, pkgs, ... }: 2 - { 3 - systemd.services.snapclient = { 4 - wantedBy = [ "multi-user.target" ]; 5 - path = [ pkgs.snapcast ]; 6 - script = "snapclient -h 10.42.0.1 --hostID ${config.networking.hostName}"; 7 - serviceConfig = { 8 - DynamicUser = true; 9 - Group = "pipewire"; 10 - Restart = "on-failure"; 11 - }; 12 - }; 13 - }
-44
configs/snapserver.nix
··· 1 - { pkgs, ... }: 2 - { 3 - services.snapserver = { 4 - enable = true; 5 - # openFirewall = true; 6 - settings.stream = { 7 - source = [ 8 - "process://${pkgs.writers.writeDash "radio" '' 9 - exec ${pkgs.mpv}/bin/mpv http://radio.lassul.us/radio.ogg \ 10 - --no-terminal \ 11 - --audio-display=no \ 12 - --audio-channels=stereo \ 13 - --audio-samplerate=48000 \ 14 - --audio-format=s16 \ 15 - --ao=pcm \ 16 - --ao-pcm-file=/dev/stdout 17 - ''}?name=radio" 18 - "pipe:///run/snapserver/snapfifo?name=styx" 19 - ]; 20 - }; 21 - http.enable = true; 22 - tcp.enable = true; 23 - }; 24 - 25 - # Runs on the gg23 router: the LAN (int0) is trusted there 26 - # (configs/gg23.nix), et0 is the WAN and stays closed. 27 - networking.firewall.interfaces.retiolum.allowedTCPPorts = [ 1780 ]; 28 - 29 - # plays an iptv channel into the "styx" pipe stream 30 - environment.systemPackages = [ 31 - (pkgs.writers.writeDashBin "iptv" '' 32 - set -efu 33 - ${pkgs.mpv}/bin/mpv \ 34 - --audio-display=no --audio-channels=stereo \ 35 - --audio-samplerate=48000 --audio-format=s16 \ 36 - --ao-pcm-file=/run/snapserver/snapfifo --ao=pcm \ 37 - --audio-delay=-1 \ 38 - --playlist=https://iptv-org.github.io/iptv/index.nsfw.m3u \ 39 - --idle=yes \ 40 - --input-ipc-server=/tmp/mpv.ipc \ 41 - "$@" 42 - '') 43 - ]; 44 - }
-1
machines/acheron/config.nix
··· 5 5 ../../configs/retiolum.nix 6 6 ../../configs/gg23.nix 7 7 ../../configs/hass 8 - ../../configs/snapserver.nix 9 8 ../../configs/gg23/audio/hub.nix 10 9 ../../configs/gg23/internet.nix 11 10 ];
-1
machines/icarus/config.nix
··· 9 9 self.wrapperModules.workspace-manager 10 10 ../../configs/pipewire.nix 11 11 ../../configs/network-manager.nix 12 - ../../configs/snapclient.nix 13 12 ../../configs/gg23/audio/room.nix 14 13 ../../configs/autoupdate.nix 15 14 ../../configs/rad.nix
-1
machines/shodan/config.nix
··· 7 7 ../../configs/desktops/qtile/nixos.nix 8 8 ../../configs/pipewire.nix 9 9 ../../configs/network-manager.nix 10 - ../../configs/snapclient.nix 11 10 ../../configs/gg23/audio/room.nix 12 11 ../../configs/rad.nix 13 12 ../../configs/phonetpm-ssh.nix