mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
dns
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
./agent.nix
|
||||
./arduino.nix
|
||||
./bun.nix
|
||||
./dns.nix
|
||||
./drawio.nix
|
||||
./java.nix
|
||||
./nix.nix
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.features.dev.dns;
|
||||
in
|
||||
{
|
||||
options.my.features.dev.dns = {
|
||||
enable = lib.mkEnableOption "DNS development tools (dig)";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
bind # DNS lookup utilities (dig, host, nslookup)
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user