aboutsummaryrefslogtreecommitdiff
path: root/hosts/ganymede/nixos.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-26 09:19:11 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-26 09:19:11 -0500
commit6154fca38879afcb57f16adad002df083876116d (patch)
treefa30fa7334eb9ac95dc0dff6de586ab5f2e422c5 /hosts/ganymede/nixos.nix
parent716a1d1f79024dc0629c61bc912a570a4a200a25 (diff)
changes
Diffstat (limited to 'hosts/ganymede/nixos.nix')
-rw-r--r--hosts/ganymede/nixos.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/hosts/ganymede/nixos.nix b/hosts/ganymede/nixos.nix
index a2314ee..a706b5f 100644
--- a/hosts/ganymede/nixos.nix
+++ b/hosts/ganymede/nixos.nix
@@ -16,8 +16,6 @@
facter.reportPath = ./facter.json;
- virtualisation.oci-containers.backend = "docker"; # fix weird issue with minecraft server (only thing running in docker right now)
-
# backup usb teather configuration
systemd.network.networks."80-usb-teather" = {
name = "enp0s20f0u2";
@@ -31,43 +29,8 @@
wantedBy = ["default.target"];
};
- # VPN to server
- systemd.network = {
- netdevs."10-wg0" = {
- netdevConfig = {
- Kind = "wireguard";
- Name = "wg0";
- };
- wireguardConfig = {
- PrivateKeyFile = config.collinux.secrets."wireguard-pk".path;
- ListenPort = 51820;
- };
- wireguardPeers = [
- {
- PublicKey = "seOq75FUGb+KThvOXCEAGdabWbb+jTRUntITpuAPgWA=";
- AllowedIPs = "0.0.0.0/0";
- Endpoint = "20.251.8.247:51820";
- PersistentKeepalive = 25;
- }
- ];
- };
- networks."wg0" = {
- matchConfig.Name = "wg0";
- address = ["10.100.0.2/24"];
- DHCP = "no";
- networkConfig.IPv6AcceptRA = false;
- };
- };
-
services.fail2ban.enable = true;
- programs.ssh.extraConfig = ''
- Host gliese
- HostName 10.100.0.1
- User green
- IdentityFile ${config.collinux.secrets."gliese-key".path}
- '';
-
# merge logs from subdomains
services.caddy.virtualHosts."up.williamsfam.us.com".logFormat = lib.mkForce ''
output file /var/log/caddy/access-williamsfam.us.com.log