Compare commits

...

3 commits

Author SHA1 Message Date
sid
d7b20c29ea Merge pull request 'host sid is now nameserver' (#28) from develop into master
All checks were successful
Deploy configs / deploy-configs (push) Successful in 25s
Reviewed-on: #28
2026-04-19 00:59:08 +02:00
sid
bca37c6ed7 vde: fix networking
All checks were successful
Build hosts / build-hosts (pull_request) Successful in 19s
Flake check / flake-check (pull_request) Successful in 19s
2026-04-19 00:56:32 +02:00
sid
91db9e4626 host sid is now nameserver
Some checks failed
Flake check / flake-check (pull_request) Failing after 10s
Build hosts / build-hosts (pull_request) Failing after 17s
2026-04-19 00:54:46 +02:00
3 changed files with 31 additions and 23 deletions

View file

@ -1,6 +1,9 @@
{ constants, ... }:
{
networking.hostName = "rx4";
networking.domain = "sid.ovh";
networking.nameservers = [ constants.hosts.sid.ip ];
# boot.kernel.sysctl = {
# "net.ipv4.conf.all.forwarding" = 1;

View file

@ -10,9 +10,7 @@
enable = true;
config = with constants; ''
.:53 {
bind 127.0.0.1 ${hosts.sid.ip}
forward . 1.1.1.1 8.8.8.8
cache 30
bind 127.0.0.1
hosts {
${hosts.sid.ip} ${ca-fqdn}
@ -24,6 +22,8 @@
${hosts.vde.ip} vde.tail
fallthrough
}
forward . 1.1.1.1 8.8.8.8
cache 30
log
errors
}

View file

@ -1,5 +1,9 @@
{ constants, ... }:
{
networking.networkmanager.ensureProfiles.profiles = {
networking = {
nameservers = [ constants.hosts.sid.ip ];
networkmanager.ensureProfiles.profiles = {
enp34s0-profile = {
connection = {
id = "enp34s0";
@ -23,4 +27,5 @@
};
};
};
};
}