mirror of
https://github.com/pvlnes/homelab.git
synced 2026-04-05 12:11:46 +00:00
new nixos config
This commit is contained in:
parent
399690def0
commit
177a4bf6ff
@ -13,6 +13,11 @@
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv6.conf.all.disable_ipv6" = 1;
|
||||
"net.ipv6.conf.default.disable_ipv6" = 1;
|
||||
"net.ipv6.conf.lo.disable_ipv6" = 1;
|
||||
};
|
||||
|
||||
networking.hostName = "homelab"; # Define your hostname.
|
||||
networking.networkmanager.wifi.powersave = false;
|
||||
@ -108,6 +113,7 @@
|
||||
# Util
|
||||
age
|
||||
btop
|
||||
dig
|
||||
curl
|
||||
git
|
||||
pkgs.inetutils
|
||||
@ -117,6 +123,7 @@
|
||||
unzip
|
||||
pkgs.sysstat
|
||||
yt-dlp
|
||||
openssl
|
||||
# Dev
|
||||
docker-compose
|
||||
python3
|
||||
@ -166,7 +173,7 @@
|
||||
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [22 80 443 53 ];
|
||||
networking.firewall.allowedTCPPorts = [22 80 443 53 9999 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user