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