Lot of change on structs

This commit is contained in:
2026-04-09 09:09:13 +02:00
parent e656247a48
commit 90bc1eb63d
42 changed files with 108 additions and 133 deletions
+21
View File
@@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.networks.dns;
in
{
options.os.networks.dns = {
enable = mkEnableOption "System dns service";
};
config = mkIf cfg.enable {
services.resolved.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
};
}