Compare commits
3 commits
e1e7b401fc
...
f0eb027550
Author | SHA1 | Date | |
---|---|---|---|
Gabriel Simmer | f0eb027550 | ||
Gabriel Simmer | 79e8c33ba9 | ||
Gabriel Simmer | 44e51a79ce |
|
@ -44,6 +44,7 @@ let
|
||||||
nixos-config.file = toString ./nas/configuration.nix;
|
nixos-config.file = toString ./nas/configuration.nix;
|
||||||
"hardware.nix".file = toString ./nas/hardware.nix;
|
"hardware.nix".file = toString ./nas/hardware.nix;
|
||||||
"n8n.nix".file = toString ./nas/nixpkgs/n8n.nix;
|
"n8n.nix".file = toString ./nas/nixpkgs/n8n.nix;
|
||||||
|
"dns.db".file = toString ./nas/dns.db;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -32,16 +32,14 @@
|
||||||
config =
|
config =
|
||||||
''
|
''
|
||||||
.:53 {
|
.:53 {
|
||||||
|
errors
|
||||||
|
log
|
||||||
|
health
|
||||||
|
file /var/src/dns.db git.gmem.ca
|
||||||
|
forward . 45.90.28.116 45.90.30.116
|
||||||
cache
|
cache
|
||||||
bind tailscale0
|
bind tailscale0
|
||||||
}
|
}
|
||||||
git.gmem.ca {
|
|
||||||
cache
|
|
||||||
bind tailscale0
|
|
||||||
template IN A {
|
|
||||||
answer "{{ .Name }} 0 IN A 100.116.48.47"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
pipewire = {
|
pipewire = {
|
||||||
|
@ -294,6 +292,10 @@
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
docker = {
|
docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
rootless = {
|
||||||
|
enable = true;
|
||||||
|
setSocketVariable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
libvirtd.enable = true;
|
libvirtd.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -304,7 +306,7 @@
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
security.acme.defaults.email = "acme@gmem.ca";
|
security.acme.defaults.email = "acme@gmem.ca";
|
||||||
security.acme.certs."git.gmem.ca" = {
|
security.acme.certs."git.gmem.ca" = {
|
||||||
domain = "git.gmem.ca";
|
domain = "*.gmem.ca";
|
||||||
dnsProvider = "route53";
|
dnsProvider = "route53";
|
||||||
credentialsFile = "/var/lib/secrets/credentials";
|
credentialsFile = "/var/lib/secrets/credentials";
|
||||||
};
|
};
|
||||||
|
|
6
krops/nas/dns.db
Normal file
6
krops/nas/dns.db
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
git.gmem.ca. IN SOA sns.dns.icann.org. noc.dns.icann.org. 2015082541 7200 3600 1209600 3600
|
||||||
|
git.gmem.ca. IN A 100.116.48.47
|
||||||
|
git.gmem.ca. IN AAAA fd7a:115c:a1e0:ab12:4843:cd96:6274:302f
|
||||||
|
|
||||||
|
gmem.ca. IN SOA sns.dns.icann.org. noc.dns.icann.org. 2015082541 7200 3600 1209600 3600
|
||||||
|
gmem.ca. IN NS ns-1341.awsdns-39.org. ns-1824.awsdns-36.co.uk. ns-354.awsdns-44.com. ns-682.awsdns-21.net.
|
Loading…
Reference in a new issue