Update configuration.nix
deploy config / Explore-Gitea-Actions (push) Successful in 6s Details

This commit is contained in:
Tom 2024-08-08 13:07:49 +02:00
parent d340b40291
commit ee695913bb
1 changed files with 17 additions and 17 deletions

View File

@ -18,6 +18,8 @@
networking = {
hostName = "nginx";
networkmanager.enable = true;
firewall.allowedTCPPorts = [ 80 443 ];
# firewall.allowedUDPPorts = [ ... ];
};
# Set your time zone.
@ -66,12 +68,13 @@
];
# Enable the OpenSSH daemon.
services.openssh = {
services = {
openssh = {
enable = true;
settings.PermitRootLogin = "without-password";
# settings.PermitRootLogin = "without-password";
};
services.nginx = {
qemuGuest.enable = true;
nginx = {
enable = true;
virtualHosts = {
"git.blubb.fish" = {
@ -81,16 +84,13 @@
};
};
};
};
security.acme = {
acceptTerms = true;
defaults.email = "gentoo@blubb.fish";
};
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 80 443 ];
# networking.firewall.allowedUDPPorts = [ ... ];
# leave installation default
system.stateVersion = "24.05"; # Did you read the comment?