Files
Hermenix ff770c1d03 dns-resilience: Hardened systemd-resolved with scoped host enablement
Add hardened systemd-resolved DNS with boot verification and journal recovery,
enabled only on specific hosts:
- hl-bigbox1, hl-bigbox2 (experienced DNS resilience issues)
- hl-minipc1, hl-minipc2, hl-minipc3 (minipc cluster)
- hl-fwdesk, hl-fws1 (desktop/workstation nodes)

Changes:
1. New module: modules/nixos/common/dns/default.nix
   - systemd-resolved with LLMNR fallback and DNSSEC tolerance
   - Hardened journald with persistent storage and auto-recovery
   - Boot-time DNS verification service with 5 retries
   - Systemd watchdog for automatic reboot on DNS failure

2. Default to false, enabled explicitly on target hosts only
3. Updated host configs to enable dns resilience module
2026-11-17 18:25:20 +00:00

54 lines
1.2 KiB
Nix

{ pkgs, config, ... }:
{
imports = [
./services
./hardware-configuration
./hardware.nix
./systemd.nix
];
skyg = {
user.enable = true;
server.admin.enable = true;
nixos = {
desktop = {
enable = false;
gnome.enable = false;
};
common.ssh-server.enable = true;
common.diagnix.enable = true;
common.dns.enable = true;
common.hardware = {
nvidia.enable = true;
amdgpu.enable = true;
udevrules.coraltpu.enable = true;
};
server.services.ai.enable = true;
};
networkDrives.enable = true;
};
skyg.nixos.common.containers.networks.ipvlanLab = {
enable = true;
parent = "enp6s0";
};
services.displayManager.defaultSession = "gnome";
services.displayManager.autoLogin = {
enable = true;
user = config.skyg.user.name;
};
services.displayManager.gdm.autoSuspend = false;
services.displayManager.gdm.autoLogin.delay = 0;
networking.firewall.enable = false;
users.users.ari.extraGroups = [ "input" ];
environment.systemPackages = with pkgs; [
nvidia-container-toolkit
libnvidia-container
docker
runc
];
}