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