Merge branch 'master' of pnp:stockholm
This commit is contained in:
commit
dcf55255e6
@ -89,9 +89,9 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
|
restart = "always";
|
||||||
|
|
||||||
ExecStartPre = pkgs.writeScript "tinc_graphs-init" ''
|
ExecStartPre = pkgs.writeScript "tinc_graphs-init" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -17,7 +17,6 @@ in {
|
|||||||
|
|
||||||
krebs.build.target = "root@gum.krebsco.de";
|
krebs.build.target = "root@gum.krebsco.de";
|
||||||
krebs.build.host = config.krebs.hosts.gum;
|
krebs.build.host = config.krebs.hosts.gum;
|
||||||
|
|
||||||
# Chat
|
# Chat
|
||||||
environment.systemPackages = with pkgs;[
|
environment.systemPackages = with pkgs;[
|
||||||
weechat
|
weechat
|
||||||
@ -34,9 +33,12 @@ in {
|
|||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
SUBSYSTEM=="net", ATTR{address}=="c8:0a:a9:c8:ee:dd", NAME="et0"
|
SUBSYSTEM=="net", ATTR{address}=="c8:0a:a9:c8:ee:dd", NAME="et0"
|
||||||
'';
|
'';
|
||||||
|
boot.kernelParams = [ "ipv6.disable=1" ];
|
||||||
networking = {
|
networking = {
|
||||||
|
enableIPv6 = false;
|
||||||
firewall = {
|
firewall = {
|
||||||
allowPing = true;
|
allowPing = true;
|
||||||
|
logRefusedConnections = false;
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
# smtp
|
# smtp
|
||||||
25
|
25
|
||||||
|
@ -59,9 +59,12 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.allowPing = true;
|
firewall = {
|
||||||
firewall.allowedTCPPorts = [ 53 80 443 ];
|
allowPing = true;
|
||||||
firewall.allowedUDPPorts = [ 655 ];
|
logRefusedConnections = false;
|
||||||
|
allowedTCPPorts = [ 53 80 443 ];
|
||||||
|
allowedUDPPorts = [ 655 ];
|
||||||
|
};
|
||||||
interfaces.enp2s1.ip4 = [{
|
interfaces.enp2s1.ip4 = [{
|
||||||
address = external-ip;
|
address = external-ip;
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
|
Loading…
Reference in New Issue
Block a user