From c874312890cba1591432152a930b08a29eb37422 Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 1 May 2023 08:47:21 +0200 Subject: [PATCH] minor fixes --- nixos/hosts/hades/dns/configuration.nix | 2 +- nixos/hosts/hades/unifi/configuration.nix | 5 ++--- nixos/hosts/olympus/dns/configuration.nix | 7 ++----- nixos/hosts/olympus/wireguard/configuration.nix | 5 ++++- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/nixos/hosts/hades/dns/configuration.nix b/nixos/hosts/hades/dns/configuration.nix index 67a6274..7e21fdd 100644 --- a/nixos/hosts/hades/dns/configuration.nix +++ b/nixos/hosts/hades/dns/configuration.nix @@ -11,7 +11,7 @@ system.stateVersion = "23.05"; # Did you read the comment? # Additional packages - environment.systemPackages = with pkgs; [ dig dog drill ]; + environment.systemPackages = with pkgs; [ dig dogdns ]; services.v.dns = { enable = true; diff --git a/nixos/hosts/hades/unifi/configuration.nix b/nixos/hosts/hades/unifi/configuration.nix index ab54033..c8ff18c 100644 --- a/nixos/hosts/hades/unifi/configuration.nix +++ b/nixos/hosts/hades/unifi/configuration.nix @@ -1,13 +1,12 @@ -{ config, pkgs, lib, ... }: +{ pkgs, lib, ... }: { system.stateVersion = "21.05"; networking.interfaces.eth0.useDHCP = true; services.unifi = { enable = true; - jrePackage = pkgs.jre8_headless; unifiPackage = pkgs.unifi; - mongodbPackage = pkgs.mongodb; + mongodbPackage = pkgs.mongodb-4_2; openFirewall = true; }; diff --git a/nixos/hosts/olympus/dns/configuration.nix b/nixos/hosts/olympus/dns/configuration.nix index 675fc0f..955a1e2 100644 --- a/nixos/hosts/olympus/dns/configuration.nix +++ b/nixos/hosts/olympus/dns/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ pkgs, ... }: { imports = [ ]; @@ -11,10 +11,7 @@ system.stateVersion = "21.11"; # Did you read the comment? # Additional packages - environment.systemPackages = with pkgs; [ dig dog drill ]; - - networking.firewall.allowedTCPPorts = [ 53 ]; - networking.firewall.allowedUDPPorts = [ 53 ]; + environment.systemPackages = with pkgs; [ dig dogdns ]; services.v.dns = { enable = true; diff --git a/nixos/hosts/olympus/wireguard/configuration.nix b/nixos/hosts/olympus/wireguard/configuration.nix index 556fb58..efeb580 100644 --- a/nixos/hosts/olympus/wireguard/configuration.nix +++ b/nixos/hosts/olympus/wireguard/configuration.nix @@ -24,7 +24,10 @@ in { [ config.networking.wireguard.interfaces.wg0.listenPort ]; networking.firewall.checkReversePath = false; - vault-secrets.secrets.wireguard = { services = [ "wireguard-wg0" ]; }; + vault-secrets.secrets.wireguard = { + services = [ "wireguard-wg0" ]; + loginRetries = 25; + }; networking.nat = { enable = true;