Skip to content

Commit

Permalink
remove deepserver and wg-deep
Browse files Browse the repository at this point in the history
  • Loading branch information
ALinkbetweenNets committed Dec 16, 2024
1 parent fa18f79 commit 768bb49
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 331 deletions.
1 change: 0 additions & 1 deletion home-manager/profiles/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ with lib; {
enable = true;
forwardAgent = true;
matchBlocks = {
"deepserver" = { port = 2522; };
"nc" = { port = 2522; };
"sn" = { port = 2522; };
"dn" = { port = 2522; };
Expand Down
74 changes: 0 additions & 74 deletions machines/deepserver/configuration.nix

This file was deleted.

89 changes: 0 additions & 89 deletions machines/deepserver/disk-config.nix

This file was deleted.

17 changes: 0 additions & 17 deletions machines/deepserver/hardware-configuration.nix

This file was deleted.

1 change: 0 additions & 1 deletion machines/dn/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
nvidia.enable = true;
secrets = "/home/l/.keys";
wireguard.enable = true;
# wg-deep.enable = true;
# wg-link.enable = true;
xserver.enable = true;
eth = "enp111s0";
Expand Down
1 change: 0 additions & 1 deletion machines/fn/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
systemd-boot.enable = true;
#secrets = "/home/l/.keys";
#wireguard.enable = true;
#wg-deep.enable = true;
# wg-link.enable = true;
domain = "fn.local";
service-ip = "127.0.0.1";
Expand Down
1 change: 0 additions & 1 deletion machines/xn/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
systemd-boot.enable = true;
#secrets = "/home/l/.keys";
#wireguard.enable = true;
#wg-deep.enable = true;
# wg-link.enable = true;
domain = "xn.local";
service-ip = "127.0.0.1";
Expand Down
4 changes: 0 additions & 4 deletions modules/common/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ in {
ssh = {
startAgent = lib.mkDefault false;
# agentTimeout = "1h";
extraConfig = ''
Host deepserver
Port 2522
'';
knownHosts = {
dn = {
hostNames = [ "dn.monitor-banfish.ts.net" ];
Expand Down
3 changes: 1 addition & 2 deletions modules/services/fail2ban.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ in {
"100.87.16.37"
"100.77.249.162"
"100.123.21.2"
] ++ lib.optionals (config.networking.hostName == "deepserver")
[ "10.0.1.0/24" ];
];
bantime = "24h"; # Set bantime to one day
bantime-increment = {
enable = true; # Enable increment of bantime after each violation
Expand Down
81 changes: 0 additions & 81 deletions modules/services/wg-deep.nix

This file was deleted.

57 changes: 0 additions & 57 deletions modules/wireguard/wg-deep.nix

This file was deleted.

3 changes: 0 additions & 3 deletions modules/wireguard/wg-link.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ in {
# 10.0.1.1 element.linkserver.org
# 10.0.1.1 outline.linkserver.org
# '';
services.dnsmasq.extraConfig = ''
interface = wg-deep
'';
networking = {
firewall = {
allowedUDPPorts = [ 51821 ];
Expand Down

0 comments on commit 768bb49

Please sign in to comment.