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:
@@ -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" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user