Clean up eustachius config

This commit is contained in:
GHOSCHT 2024-05-31 11:53:33 +02:00
parent 7a0bbc1548
commit 51a6f74c5f
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -55,11 +55,7 @@
neovim
curl
wget
bind
iptables
python3
nodejs
docker-compose
# docker-compose
];
services.openssh = {
@ -67,45 +63,23 @@
settings.PermitRootLogin = "yes";
};
# Some sample service.
# Use dnsmasq as internal LAN DNS resolver.
services.dnsmasq = {
enable = false;
settings.servers = ["8.8.8.8" "8.8.4.4" "1.1.1.1"];
settings.extraConfig = ''
address=/fenrir.test/192.168.100.6
address=/recalune.test/192.168.100.7
address=/eth.nixpi.test/192.168.100.3
address=/wlan.nixpi.test/192.168.100.4
'';
services.restic.server = {
enable = true;
dataDir = "/mnt/backups";
extraFlags = ["--no-auth"];
};
services.tailscale = {
enable = true;
useRoutingFeatures = "server";
};
virtualisation.docker.enable = true;
networking.firewall.enable = false;
# WiFi
hardware = {
enableRedistributableFirmware = true;
firmware = [pkgs.wireless-regdb];
};
# Networking
networking = {
# useDHCP = true;
interfaces.wlan0 = {
useDHCP = false;
ipv4.addresses = [
{
# I used static IP over WLAN because I want to use it as local DNS resolver
address = "192.168.1.4";
prefixLength = 24;
}
];
};
interfaces.eth0 = {
useDHCP = true;
};
};
networking.useDHCP = true;
# forwarding
boot.kernel.sysctl = {