upd config

This commit is contained in:
Pavel 2026-03-18 23:19:20 +03:00
parent b624d64116
commit 5051fd9820

View File

@ -58,6 +58,7 @@
services.caddy.configFile = "/opt/homelab/services/caddy/Caddyfile";
systemd.tmpfiles.rules = [
"d /var/log/caddy 0750 caddy caddy -"
"L+ /home/pvlx/.ssh/conf.d - - - - /home/pvlx/repos/ssh_config"
];
services.fail2ban.jails.sshd = {
enabled = true;
@ -176,9 +177,12 @@
# Install firefox.
programs.firefox.enable = true;
#Enable zsh
programs.zsh.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
@ -245,7 +249,6 @@
};
};
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [22 80 443 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];