refactor(nixos): simplify VPN client configuration
This commit was merged in pull request #142.
This commit is contained in:
@@ -27,15 +27,9 @@
|
||||
peer = {
|
||||
publicKey = "sGEkSD+gEdIMXi4PBN3AhwHGc4tWMtcjOIey3s7yb3I=";
|
||||
endpoint = "100.0.90.192:51820";
|
||||
allowedIPs = [ "10.23.0.0/16" ];
|
||||
};
|
||||
};
|
||||
|
||||
registry.shell-shortcut.neogaia = {
|
||||
vpn-on = "sudo systemctl start wireguard-wg-home.target";
|
||||
vpn-off = "sudo systemctl stop 'wireguard-wg-home*.service' wireguard-wg-home.target";
|
||||
};
|
||||
|
||||
modules.monorepo.enable = true;
|
||||
modules.shell.herdr.enable = true;
|
||||
modules.shell.gitea-axi.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user