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/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,10 +34,24 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
services.tmate = {
|
services = {
|
||||||
enable = true;
|
tmate = {
|
||||||
openFirewall = true;
|
enable = true;
|
||||||
sshHostname = "tmate.mcwhirter.io";
|
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
|
system.stateVersion = "19.03"; # The version of NixOS originally installed
|
||||||
|
|
|
@ -78,7 +78,8 @@
|
||||||
forceSSL = true; # Force SSL
|
forceSSL = true; # Force SSL
|
||||||
};
|
};
|
||||||
virtualHosts."owncloud.mcwhirter.io" = {
|
virtualHosts."owncloud.mcwhirter.io" = {
|
||||||
# Hostname to be redirected
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
globalRedirect = "cloud.mcwhirter.io"; # Redirect permanently to the host
|
globalRedirect = "cloud.mcwhirter.io"; # Redirect permanently to the host
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -91,7 +92,10 @@
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
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
|
users.groups.keys.members = ["nextcloud"]; # Required due to NixOps issue #1204
|
||||||
|
|
Loading…
Reference in a new issue