From ee695913bb66f99be92d478c3b411c06784d089e Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 8 Aug 2024 13:07:49 +0200 Subject: [PATCH] Update configuration.nix --- configuration.nix | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/configuration.nix b/configuration.nix index 891d549..452ea23 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,6 +18,8 @@ networking = { hostName = "nginx"; networkmanager.enable = true; + firewall.allowedTCPPorts = [ 80 443 ]; + # firewall.allowedUDPPorts = [ ... ]; }; # Set your time zone. @@ -66,18 +68,20 @@ ]; # Enable the OpenSSH daemon. - services.openssh = { - enable = true; - settings.PermitRootLogin = "without-password"; - }; - - services.nginx = { - enable = true; - virtualHosts = { - "git.blubb.fish" = { - addSSL = true; - enableACME = true; - locations."/".proxyPass = "http://10.0.0.24:3000/"; + services = { + openssh = { + enable = true; + # settings.PermitRootLogin = "without-password"; + }; + qemuGuest.enable = true; + nginx = { + enable = true; + virtualHosts = { + "git.blubb.fish" = { + addSSL = true; + enableACME = true; + locations."/".proxyPass = "http://10.0.0.24:3000/"; + }; }; }; }; @@ -87,11 +91,7 @@ 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? -} +} \ No newline at end of file