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