parsons: small fixes

keep-around/fd9e8941c77dea75114f839693f63a813b2d391b
hexchen 2021-08-07 19:19:06 +00:00
parent 632bf21200
commit a5063ae960
3 changed files with 20 additions and 0 deletions

View File

@ -34,6 +34,15 @@
networking.nat.internalInterfaces = ["ve-+"];
networking.nat.externalInterface = "enp35s0";
networking.interfaces.enp35s0.ipv6.addresses = [{
address = "2a01:4f9:3a:2ddb::1";
prefixLength = 64;
}];
networking.defaultGateway6 = {
address = "fe80::1";
interface = "enp35s0";
};
services.nginx.enable = true;
services.nginx.recommendedProxySettings = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];

View File

@ -35,6 +35,16 @@
fsType = "zfs";
};
fileSystems."/root" =
{ device = "zroot/safe/root";
fsType = "zfs";
};
fileSystems."/var/cache/restic-backups-tardis" =
{ device = "zroot/safe/restic-cache";
fsType = "zfs";
};
fileSystems."/tmp" =
{ device = "zroot/local/tmp";
fsType = "zfs";

View File

@ -23,6 +23,7 @@ in
address = "192.168.100.1";
interface = "eth0";
};
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
services.thelounge = {
enable = true;