summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2022-05-24 18:46:48 +0200
committerMichal Idziorek <m.i@gmx.at>2022-05-24 18:46:48 +0200
commitc44966d91f83734e29e6d13c93f62999621cced7 (patch)
tree2fcc6ce3696b6ba8d1db842772b8973ed30f80b8
parent5313959bcbf48e776b69611efe578508ea3059a0 (diff)
add sf com
-rw-r--r--nix/nixops/comet/configuration.nix12
-rw-r--r--nix/shell.nix2
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 ] */
}