mirror of
https://github.com/pvlnes/homelab.git
synced 2026-04-05 12:11:46 +00:00
upd config
This commit is contained in:
parent
b624d64116
commit
5051fd9820
@ -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 ];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user