Large change on folder structure AND used of import-tree.

This commit is contained in:
Laurent Gueret
2026-01-28 13:18:17 +01:00
parent 3975dce418
commit ae5ac475c5
53 changed files with 253 additions and 278 deletions
+20
View File
@@ -0,0 +1,20 @@
{ 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;
};
};
}