coredns added

This commit is contained in:
2026-06-14 20:46:33 +03:00
parent 624b63bc02
commit acd8b33a8b
4 changed files with 36 additions and 6 deletions
+25
View File
@@ -0,0 +1,25 @@
{
config,
pkgs,
...
}:
{
services.coredns = {
enable = true;
config = ''
zeroq.su:53 {
hosts {
192.168.1.20 dns.zeroq.su
192.168.1.20 immich.zeroq.su
fallthrough
}
cache 300
log
}
.:53 {
forward . 1.1.1.1 9.9.9.9
cache 300
}
'';
};
}
+1
View File
@@ -7,6 +7,7 @@
../software/beets
./bentopdf.nix
./calibre-web.nix
./coredns.nix
./gitea.nix
./glances.nix
./immich.nix
+4
View File
@@ -9,10 +9,14 @@
let
configDir = "${xlib.dirs.services-mnt-folder}/n8n";
varDir = "/var/lib/n8n";
master = import inputs.nixpkgs-beets {
system = "x86_64-linux";
};
in
{
services.n8n = {
enable = true;
package = master.n8n;
environment = {
# N8N_USER_FOLDER = lib.mkForce "${configDir}";
N8N_SECURE_COOKIE = "false";