This repository has no description
0

Configure Feed

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

superconfig / machines / styx / config.nix
2.2 kB 103 lines
1{ 2 config, 3 lib, 4 pkgs, 5 ... 6}: 7 8{ 9 imports = [ 10 ../../2configs 11 ../../2configs/retiolum.nix 12 ../../2configs/pipewire.nix 13 ../../2configs/exim-retiolum.nix 14 ../../2configs/nfs-dl.nix 15 ../../2configs/yellow-mounts/samba.nix 16 ../../2configs/gg23.nix 17 ../../2configs/hass 18 ../../2configs/green-host.nix 19 ../../2configs/syncthing.nix 20 ../../2configs/ppp/umts-stick.nix 21 ../../2configs/snapserver.nix 22 ../../2configs/snapclient.nix 23 ../../2configs/consul.nix 24 ]; 25 26 krebs.build.host = config.krebs.hosts.styx; 27 28 krebs.power-action.enable = lib.mkForce false; 29 30 environment.systemPackages = with pkgs; [ 31 wol 32 (writeDashBin "wake-alien" '' 33 ${wol}/bin/wol -h 10.42.0.255 10:65:30:68:83:a3 34 '') 35 (writers.writeDashBin "iptv" '' 36 set -efu 37 /run/current-system/sw/bin/mpv \ 38 --audio-display=no --audio-channels=stereo \ 39 --audio-samplerate=48000 --audio-format=s16 \ 40 --ao-pcm-file=/run/snapserver/snapfifo --ao=pcm \ 41 --audio-delay=-1 \ 42 --playlist=https://iptv-org.github.io/iptv/index.nsfw.m3u \ 43 --idle=yes \ 44 --input-ipc-server=/tmp/mpv.ipc \ 45 "$@" 46 '') 47 ]; 48 49 networking.firewall.allowedTCPPorts = [ 80 ]; 50 services.smokeping = { 51 enable = true; 52 host = null; 53 targetConfig = '' 54 probe = FPing 55 menu = top 56 title = top 57 58 + Local 59 menu = Local 60 title = Local Network 61 ++ LocalMachine 62 menu = Local Machine 63 title = This host 64 host = localhost 65 66 + Internet 67 menu = internet 68 title = internet 69 70 ++ CloudflareDNS 71 menu = Cloudflare DNS 72 title = Cloudflare DNS server 73 host = 1.1.1.1 74 75 ++ GoogleDNS 76 menu = Google DNS 77 title = Google DNS server 78 host = 8.8.8.8 79 80 + retiolum 81 menu = retiolum 82 title = retiolum 83 84 ++ gum 85 menu = gum.r 86 title = gum.r 87 host = gum.r 88 89 ++ ni 90 menu = ni.r 91 title = ni.r 92 host = ni.r 93 94 ++ prism 95 menu = prism.r 96 title = prism.r 97 host = prism.r 98 ''; 99 }; 100 101 # for usb internet 102 hardware.usbWwan.enable = true; 103}