From f55307fd73af235069744dd5155fda0bc73fe613 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2023 12:26:31 +0200 Subject: lass: migrate away --- lass/1systems/styx/config.nix | 116 ------------------------------------------ 1 file changed, 116 deletions(-) delete mode 100644 lass/1systems/styx/config.nix (limited to 'lass/1systems/styx/config.nix') diff --git a/lass/1systems/styx/config.nix b/lass/1systems/styx/config.nix deleted file mode 100644 index 988cbca7..00000000 --- a/lass/1systems/styx/config.nix +++ /dev/null @@ -1,116 +0,0 @@ -{ config, pkgs, ... }: - -with import ; -{ - imports = [ - - - - - - - - - - - - - - - - # - - - - # - - - - - ]; - - krebs.build.host = config.krebs.hosts.styx; - - networking.firewall.interfaces.int0.allowedTCPPorts = [ config.services.smokeping.port ]; - networking.firewall.interfaces.retiolum.allowedTCPPorts = [ config.services.smokeping.port ]; - networking.firewall.interfaces.wiregrill.allowedTCPPorts = [ config.services.smokeping.port ]; - krebs.power-action.enable = mkForce false; - - environment.systemPackages = with pkgs; [ - wol - (writeDashBin "wake-alien" '' - ${wol}/bin/wol -h 10.42.0.255 10:65:30:68:83:a3 - '') - (writers.writeDashBin "iptv" '' - set -efu - /run/current-system/sw/bin/mpv \ - --audio-display=no --audio-channels=stereo \ - --audio-samplerate=48000 --audio-format=s16 \ - --ao-pcm-file=/run/snapserver/snapfifo --ao=pcm \ - --audio-delay=-1 \ - --playlist=https://iptv-org.github.io/iptv/index.nsfw.m3u \ - --idle=yes \ - --input-ipc-server=/tmp/mpv.ipc \ - "$@" - '') - ]; - - users.users.mainUser.openssh.authorizedKeys.keys = [ - config.krebs.users.lass-android.pubkey - ]; - # http://10.42.0.1:8081/smokeping.fcgi - services.smokeping = { - enable = true; - host = null; - targetConfig = '' - probe = FPing - menu = top - title = top - - + Local - menu = Local - title = Local Network - ++ LocalMachine - menu = Local Machine - title = This host - host = localhost - - + Internet - menu = internet - title = internet - - ++ CloudflareDNS - menu = Cloudflare DNS - title = Cloudflare DNS server - host = 1.1.1.1 - - ++ GoogleDNS - menu = Google DNS - title = Google DNS server - host = 8.8.8.8 - - + retiolum - menu = retiolum - title = retiolum - - ++ gum - menu = gum.r - title = gum.r - host = gum.r - - ++ ni - menu = ni.r - title = ni.r - host = ni.r - - ++ prism - menu = prism.r - title = prism.r - host = prism.r - ''; - }; - - # for usb internet - hardware.usbWwan.enable = true; -} - -- cgit v1.2.3