1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

feat(hu-berlin): hu-ip script

This commit is contained in:
2020-12-28 19:50:34 +01:00
parent 8bd8ec611f
commit dcca34d5c1

View File

@@ -54,6 +54,12 @@ in {
options = hu-berlin-cifs-options; options = hu-berlin-cifs-options;
}; };
environment.systemPackages = [
(pkgs.writers.writeDashBin "hu-ip" ''
${pkgs.w3m}/bin/w3m -dump meineip.hu-berlin.de | head --lines=-4 | tail --lines=+3
'')
];
systemd.services.hu-vpn = { systemd.services.hu-vpn = {
enable = true; enable = true;
wants = [ "network-online.target" ]; wants = [ "network-online.target" ];