diff options
| -rw-r--r-- | nix/nixops/comet/configuration.nix | 12 | ||||
| -rw-r--r-- | nix/shell.nix | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/nix/nixops/comet/configuration.nix b/nix/nixops/comet/configuration.nix index fcef47a..7fc401d 100644 --- a/nix/nixops/comet/configuration.nix +++ b/nix/nixops/comet/configuration.nix @@ -83,6 +83,18 @@ in globalRedirect = "www.idziorek.net"; }; + services.nginx.virtualHosts."www.softwarefools.com" = { + forceSSL = true; + enableACME = true; + root = "/var/www/www.softwarefools.com"; + }; + + services.nginx.virtualHosts."softwarefools.com" = { + forceSSL = true; + enableACME = true; + globalRedirect = "www.softwarefools.com"; + }; + # GITWEB services.gitweb.projectroot = "/var/lib/gitolite/repositories"; services.gitweb.gitwebTheme = true; diff --git a/nix/shell.nix b/nix/shell.nix index b4d0142..0bda684 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -19,5 +19,5 @@ let packs = [ ]; in mkShell { # nativeBuildInputs is usually what you want -- tools you need to run - nativeBuildInputs = packs; /* -- [ nixopsUnstable nixos-generators ] */ + nativeBuildInputs = packs; /* -- [ nixopsUnstable nixos-generators ] */ } |
