diff options
| -rw-r--r-- | configuration.nix | 3 | ||||
| -rw-r--r-- | web.nix | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix index 2a19efc..96c5e48 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,6 +5,7 @@ ./options.nix ./git.nix ./ssh.nix + ./web.nix ]; boot.loader = { @@ -15,6 +16,8 @@ efi.canTouchEfiVariables = true; }; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + networking.hostName = "chariot"; networking.networkmanager.enable = true; @@ -0,0 +1,8 @@ +{...}: { + # dont serve git.kassouni.net traffic to other subdomains + services.nginx.virtualHosts."_" = { + default = true; + rejectSSL = true; + locations."/".return = 444; + }; +} |