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