Enable fallback DNS on mini-pc
Deploy mini-pc / deploy (push) Failing after 33s
NixOS switch mini-pc / switch (push) Failing after 1m27s

This commit is contained in:
Dmitry
2026-05-30 14:58:42 +03:00
parent 7d66b0e296
commit 8ed947e48b
2 changed files with 10 additions and 1 deletions
+6
View File
@@ -3,6 +3,9 @@ services:
image: caddy:2-alpine
container_name: caddy
restart: unless-stopped
dns:
- 1.1.1.1
- 8.8.8.8
ports:
- "80:80"
- "443:443"
@@ -15,6 +18,9 @@ services:
lego:
image: git.ada-dev.ru/ada/lego:latest
container_name: caddy-lego
dns:
- 1.1.1.1
- 8.8.8.8
env_file:
- .env
restart: unless-stopped
+4 -1
View File
@@ -30,7 +30,10 @@
};
};
services.resolved.enable = false;
services.resolved = {
enable = true;
fallbackDns = [ "1.1.1.1" "8.8.8.8" ];
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;