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 109 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 networking.firewall.allowedTCPPorts = [ 80 ]; 56 services.smokeping = { 57 enable = true; 58 host = null; 59 targetConfig = '' 60 probe = FPing 61 menu = top 62 title = top 63 64 + Local 65 menu = Local 66 title = Local Network 67 ++ LocalMachine 68 menu = Local Machine 69 title = This host 70 host = localhost 71 72 + Internet 73 menu = internet 74 title = internet 75 76 ++ CloudflareDNS 77 menu = Cloudflare DNS 78 title = Cloudflare DNS server 79 host = 1.1.1.1 80 81 ++ GoogleDNS 82 menu = Google DNS 83 title = Google DNS server 84 host = 8.8.8.8 85 86 + retiolum 87 menu = retiolum 88 title = retiolum 89 90 ++ gum 91 menu = gum.r 92 title = gum.r 93 host = gum.r 94 95 ++ ni 96 menu = ni.r 97 title = ni.r 98 host = ni.r 99 100 ++ prism 101 menu = prism.r 102 title = prism.r 103 host = prism.r 104 ''; 105 }; 106 107 # for usb internet 108 hardware.usbWwan.enable = true; 109}