minor fixes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vivian 2023-05-01 08:47:21 +02:00
parent e7857f7e0c
commit c874312890
4 changed files with 9 additions and 10 deletions

View file

@ -11,7 +11,7 @@
system.stateVersion = "23.05"; # Did you read the comment? system.stateVersion = "23.05"; # Did you read the comment?
# Additional packages # Additional packages
environment.systemPackages = with pkgs; [ dig dog drill ]; environment.systemPackages = with pkgs; [ dig dogdns ];
services.v.dns = { services.v.dns = {
enable = true; enable = true;

View file

@ -1,13 +1,12 @@
{ config, pkgs, lib, ... }: { pkgs, lib, ... }:
{ {
system.stateVersion = "21.05"; system.stateVersion = "21.05";
networking.interfaces.eth0.useDHCP = true; networking.interfaces.eth0.useDHCP = true;
services.unifi = { services.unifi = {
enable = true; enable = true;
jrePackage = pkgs.jre8_headless;
unifiPackage = pkgs.unifi; unifiPackage = pkgs.unifi;
mongodbPackage = pkgs.mongodb; mongodbPackage = pkgs.mongodb-4_2;
openFirewall = true; openFirewall = true;
}; };

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { pkgs, ... }:
{ {
imports = [ ]; imports = [ ];
@ -11,10 +11,7 @@
system.stateVersion = "21.11"; # Did you read the comment? system.stateVersion = "21.11"; # Did you read the comment?
# Additional packages # Additional packages
environment.systemPackages = with pkgs; [ dig dog drill ]; environment.systemPackages = with pkgs; [ dig dogdns ];
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
services.v.dns = { services.v.dns = {
enable = true; enable = true;

View file

@ -24,7 +24,10 @@ in {
[ config.networking.wireguard.interfaces.wg0.listenPort ]; [ config.networking.wireguard.interfaces.wg0.listenPort ];
networking.firewall.checkReversePath = false; networking.firewall.checkReversePath = false;
vault-secrets.secrets.wireguard = { services = [ "wireguard-wg0" ]; }; vault-secrets.secrets.wireguard = {
services = [ "wireguard-wg0" ];
loginRetries = 25;
};
networking.nat = { networking.nat = {
enable = true; enable = true;