mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(wifi): add hotel_krone, install gateway-script
This commit is contained in:
@@ -246,9 +246,10 @@ in {
|
||||
"FlixBus" = { };
|
||||
"FlixTrain" = { };
|
||||
"BVG Wi-Fi" = { };
|
||||
"Hotel_Krone" = { }; # login: http://192.168.10.1/
|
||||
"Ni/Schukajlow".pskRaw =
|
||||
"ffc47f6829da59c48aea878a32252223303f5c47a3859edc90971ffc63346781";
|
||||
"WIFIonICE" = { };
|
||||
"WIFIonICE" = { }; # login: http://10.101.64.10/
|
||||
"WLAN-914742".psk = "67647139648174545446";
|
||||
"KDG-CEAA4".psk = "PBkBSmejcvM4";
|
||||
"KDG-4ECF7".psk = "Gdbwh7afw2Bx";
|
||||
|
||||
@@ -102,6 +102,7 @@
|
||||
evince # for viewing pdf annotations
|
||||
youtubeDL
|
||||
bc # calculator
|
||||
scripts.default-gateway
|
||||
scripts.favicon
|
||||
scripts.ipa # XSAMPA to IPA converter
|
||||
scripts.betacode # ancient greek betacode to unicode converter
|
||||
|
||||
@@ -139,6 +139,10 @@ in rec {
|
||||
packages = [ pkgs.python3 ];
|
||||
};
|
||||
|
||||
default-gateway = pkgs.writers.writeDashBin "default-gateway" ''
|
||||
${pkgs.iproute}/bin/ip -json route | ${pkgs.jq}/bin/jq --raw-output '.[0].gateway'
|
||||
'';
|
||||
|
||||
betacode = pkgs.writers.writePython3Bin "betacode" {
|
||||
libraries = [ pkgs.nur.repos.kmein.python3Packages.betacode ];
|
||||
} ''
|
||||
|
||||
Reference in New Issue
Block a user