diff --git a/system/kernighan/kernighan.nix b/system/kernighan/kernighan.nix index f90d73c..3d09c6d 100644 --- a/system/kernighan/kernighan.nix +++ b/system/kernighan/kernighan.nix @@ -4,8 +4,9 @@ { imports = [ - ../shared-configuration.nix - ./hardware.nix + ../shared/shared-configuration.nix + ./kernighan-hardware.nix + ./services/nginx.nix ]; networking = { diff --git a/system/kernighan/services/nginx.nix b/system/kernighan/services/nginx.nix new file mode 100644 index 0000000..8c8aeb6 --- /dev/null +++ b/system/kernighan/services/nginx.nix @@ -0,0 +1,19 @@ +{ config, pkgs, inputs, ... }: + +{ + services.nginx = { + enable = true; + virtualHosts."test.tsvallender.co.uk" = { + #forceSSL = true; + #enableACME = true; + root = "/var/www/tsvallender.co.uk"; + }; + }; + # security.acme = { + # acceptTerms = true; + # defaults = { + # email = "t+acme@tsvallender.co.uk"; + # }; + # }; +} +