source: redirect to reciproka

This commit is contained in:
Serĉanto de Scio 2024-02-28 00:09:54 +10:00
parent 709ef98f87
commit 1376335e8a
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -15,7 +15,7 @@
../profiles/ipv6.nix ../profiles/ipv6.nix
../profiles/mastodon.nix ../profiles/mastodon.nix
../profiles/matrix.nix ../profiles/matrix.nix
../profiles/mcwhirter.io.nix #../profiles/mcwhirter.io.nix
../profiles/minecraftServer.nix ../profiles/minecraftServer.nix
../profiles/nextcloud.nix ../profiles/nextcloud.nix
../profiles/nixpkgs-dev.nix ../profiles/nixpkgs-dev.nix
@ -34,11 +34,25 @@
} }
]; ];
services.tmate = { services = {
tmate = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
sshHostname = "tmate.mcwhirter.io"; sshHostname = "tmate.mcwhirter.io";
}; };
nginx = {
virtualHosts."source.mcwhirter.io" = {
enableACME = true;
forceSSL = true;
globalRedirect = "reciproka.dev"; # Redirect permanently to the host
};
};
};
security.acme = {
acceptTerms = true;
certs = {"source.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
};
system.stateVersion = "19.03"; # The version of NixOS originally installed system.stateVersion = "19.03"; # The version of NixOS originally installed
} }