🔍 coredns updates
This commit is contained in:
@ -27,8 +27,6 @@ in {
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.enp10s0.useDHCP = true;
|
||||
networking.interfaces.enp9s0.useDHCP = true;
|
||||
networking.nameservers = [ "100.111.208.75" "1.1.1.1" ];
|
||||
networking.search = [ "walkah.lab" ];
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
@ -82,6 +80,8 @@ in {
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = false;
|
||||
|
||||
walkah.coredns = { enable = true; };
|
||||
|
||||
services = {
|
||||
grafana = {
|
||||
enable = true;
|
||||
@ -136,6 +136,4 @@ in {
|
||||
# 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 = "20.09"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,7 @@ in {
|
||||
./networking.nix # generated at runtime by nixos-infect
|
||||
<home-manager/nixos>
|
||||
|
||||
../../modules/coredns
|
||||
../../modules/matrix/nginx.nix
|
||||
];
|
||||
|
||||
@ -20,8 +21,6 @@ in {
|
||||
networking.hostName = "socrates";
|
||||
networking.firewall.allowPing = true;
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.nameservers = [ "100.111.208.75" "1.1.1.1" ];
|
||||
networking.search = [ "walkah.lab" ];
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
@ -50,6 +49,11 @@ in {
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.email = "walkah@walkah.net";
|
||||
|
||||
walkah.coredns = {
|
||||
enable = true;
|
||||
addr = "100.103.57.96";
|
||||
};
|
||||
|
||||
services = {
|
||||
nginx = {
|
||||
enable = true;
|
||||
|
Reference in New Issue
Block a user