formatting & test cuda support

This commit is contained in:
2026-05-03 12:03:57 -05:00
parent 4d552be249
commit f97d97a570
4 changed files with 70 additions and 61 deletions
+10 -6
View File
@@ -24,12 +24,18 @@ in {
enable = true;
alwaysKeepRunning = true;
settings = {
listen-address = "10.10.0.10"; # your LAN IP
listen-address = "10.10.0.10"; # your LAN IP
#interface = "enp89s0";
bind-interfaces = true;
address = [
"/snowbelle.lan/10.10.0.10"
"/.snowbelle.lan/10.10.0.10"
"/lumiose.lan/10.10.0.11"
"/.lumiose.lan/10.10.0.11"
"/bebe.lan/10.10.0.1"
];
server = [ # upstream dns
server = [
# upstream dns
"10.10.0.1"
];
};
@@ -37,13 +43,11 @@ in {
systemd.services.dnsmasq.serviceConfig = {
RestartSec = "5s";
StartLimitIntervalSec = 60;
StartLimitBurst = 10;
};
# open firewall
networking.firewall.allowedTCPPorts = [ cfg.port ];
networking.firewall.allowedUDPPorts = [ cfg.port ];
networking.firewall.allowedTCPPorts = [cfg.port];
networking.firewall.allowedUDPPorts = [cfg.port];
};
}