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 neovim
curl curl
wget wget
bind # docker-compose
iptables
python3
nodejs
docker-compose
]; ];
services.openssh = { services.openssh = {
@ -67,45 +63,23 @@
settings.PermitRootLogin = "yes"; settings.PermitRootLogin = "yes";
}; };
# Some sample service. services.restic.server = {
# Use dnsmasq as internal LAN DNS resolver. enable = true;
services.dnsmasq = { dataDir = "/mnt/backups";
enable = false; extraFlags = ["--no-auth"];
settings.servers = ["8.8.8.8" "8.8.4.4" "1.1.1.1"]; };
settings.extraConfig = ''
address=/fenrir.test/192.168.100.6 services.tailscale = {
address=/recalune.test/192.168.100.7 enable = true;
address=/eth.nixpi.test/192.168.100.3 useRoutingFeatures = "server";
address=/wlan.nixpi.test/192.168.100.4
'';
}; };
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
networking.firewall.enable = false; networking.firewall.enable = false;
# WiFi
hardware = {
enableRedistributableFirmware = true;
firmware = [pkgs.wireless-regdb];
};
# Networking # Networking
networking = { networking.useDHCP = true;
# 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;
};
};
# forwarding # forwarding
boot.kernel.sysctl = { boot.kernel.sysctl = {