infrastructure/nixos/hosts/olympus/dns/configuration.nix

21 lines
714 B
Nix
Raw Normal View History

2023-05-04 13:08:10 +02:00
{ pkgs, ... }: {
2021-11-21 19:30:19 +01:00
imports = [ ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.11"; # Did you read the comment?
# Additional packages
2023-05-01 08:47:21 +02:00
environment.systemPackages = with pkgs; [ dig dogdns ];
2021-11-21 19:30:19 +01:00
2022-09-27 14:25:09 +02:00
services.v.dns = {
2021-11-21 19:30:19 +01:00
enable = true;
2022-09-27 14:25:09 +02:00
openFirewall = true;
mode = "server";
2021-11-21 19:30:19 +01:00
};
}