From 864eb3cc47893c19e9c1df2abfa6d4e3a71f2cbb Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 13 Jul 2023 21:47:54 +0200 Subject: [PATCH] remove stuff --- hosts/nb-epicenter/configuration.nix | 43 ++++++++++------------------ 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/hosts/nb-epicenter/configuration.nix b/hosts/nb-epicenter/configuration.nix index b0f47fb..3f98b86 100644 --- a/hosts/nb-epicenter/configuration.nix +++ b/hosts/nb-epicenter/configuration.nix @@ -66,7 +66,7 @@ enableExtensionPack = true; }; - networking.hostName = "cl-nb-01"; # Define your hostname. + networking.hostName = "ew-nb-01"; # Define your hostname. networking.resolvconf.enable = true; networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.extraHosts = '' @@ -118,19 +118,6 @@ ]; }; - services.postgresql = { - enable = true; - ensureUsers = [ - { - name = "dominik"; - ensurePermissions = { - "DATABASE \"zammad\"" = "ALL PRIVILEGES"; - }; - } - ]; - ensureDatabases = [ "zammad" ]; - }; - system.stateVersion = "22.11"; # Did you read the comment? security.polkit.enable = true; @@ -151,20 +138,20 @@ }; - networking.firewall = { - allowedUDPPorts = [ 51820 ]; # Clients and peers can use the same port, see listenport - # if packets are still dropped, they will show up in dmesg - logReversePathDrops = true; - # wireguard trips rpfilter up - extraCommands = '' - ip46tables -t mangle -I nixos-fw-rpfilter -p udp -m udp --sport 51820 -j RETURN - ip46tables -t mangle -I nixos-fw-rpfilter -p udp -m udp --dport 51820 -j RETURN - ''; - extraStopCommands = '' - ip46tables -t mangle -D nixos-fw-rpfilter -p udp -m udp --sport 51820 -j RETURN || true - ip46tables -t mangle -D nixos-fw-rpfilter -p udp -m udp --dport 51820 -j RETURN || true - ''; - }; + # networking.firewall = { + # allowedUDPPorts = [ 51820 ]; # Clients and peers can use the same port, see listenport + # # if packets are still dropped, they will show up in dmesg + # logReversePathDrops = true; + # # wireguard trips rpfilter up + # extraCommands = '' + # ip46tables -t mangle -I nixos-fw-rpfilter -p udp -m udp --sport 51820 -j RETURN + # ip46tables -t mangle -I nixos-fw-rpfilter -p udp -m udp --dport 51820 -j RETURN + # ''; + # extraStopCommands = '' + # ip46tables -t mangle -D nixos-fw-rpfilter -p udp -m udp --sport 51820 -j RETURN || true + # ip46tables -t mangle -D nixos-fw-rpfilter -p udp -m udp --dport 51820 -j RETURN || true + # ''; + # }; # networking.wireguard.interfaces = { # wg0 = { # # Determines the IP address and subnet of the client's end of the tunnel interface.