Compare commits
2 commits
709ef98f87
...
d93d573e1c
Author | SHA1 | Date | |
---|---|---|---|
Serĉanto de Scio | d93d573e1c | ||
Serĉanto de Scio | 1376335e8a |
|
@ -15,7 +15,7 @@
|
|||
../profiles/ipv6.nix
|
||||
../profiles/mastodon.nix
|
||||
../profiles/matrix.nix
|
||||
../profiles/mcwhirter.io.nix
|
||||
#../profiles/mcwhirter.io.nix
|
||||
../profiles/minecraftServer.nix
|
||||
../profiles/nextcloud.nix
|
||||
../profiles/nixpkgs-dev.nix
|
||||
|
@ -34,10 +34,24 @@
|
|||
}
|
||||
];
|
||||
|
||||
services.tmate = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
sshHostname = "tmate.mcwhirter.io";
|
||||
services = {
|
||||
tmate = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
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
|
||||
|
|
|
@ -78,7 +78,8 @@
|
|||
forceSSL = true; # Force SSL
|
||||
};
|
||||
virtualHosts."owncloud.mcwhirter.io" = {
|
||||
# Hostname to be redirected
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
globalRedirect = "cloud.mcwhirter.io"; # Redirect permanently to the host
|
||||
};
|
||||
};
|
||||
|
@ -91,7 +92,10 @@
|
|||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs = {"cloud.mcwhirter.io" = {email = "craige@mcwhirter.io";};};
|
||||
certs = {
|
||||
"cloud.mcwhirter.io" = {email = "craige@mcwhirter.io";};
|
||||
"owncloud.mcwhirter.io" = {email = "craige@mcwhirter.io";};
|
||||
};
|
||||
};
|
||||
|
||||
users.groups.keys.members = ["nextcloud"]; # Required due to NixOps issue #1204
|
||||
|
|
Loading…
Reference in a new issue