Minor re-jiggery
This commit is contained in:
parent
8114296098
commit
a1001a9112
|
@ -13,6 +13,7 @@
|
|||
enable = true; # Enable Nextcloud
|
||||
hostName = "cloud.mcwhirter.io"; # FQDN for the Nextcloud instance
|
||||
nginx.enable = true; # Whether to enable nginx virtual host management
|
||||
https = true; # Use HTTPS for links
|
||||
config = { # Configure Nextcloud
|
||||
dbtype = "pgsql"; # Set the database type
|
||||
dbname = "nextcloud"; # Set the database name
|
||||
|
@ -59,13 +60,18 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services."nextcloud-setup" = {
|
||||
systemd.services."nextcloud-setup" = { # Ensure PostgreSQL is running first
|
||||
requires = ["postgresql.service"];
|
||||
after = ["postgresql.service"];
|
||||
};
|
||||
|
||||
security.acme.certs = {
|
||||
"cloud.mcwhirter.io".email = "craige@mcwhirter.io";
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs = {
|
||||
"cloud.mcwhirter.io" = {
|
||||
email = "craige@mcwhirter.io";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.groups.keys.members = [ "nextcloud" ]; # Required due to NixOps issue #1204
|
||||
|
|
Loading…
Reference in a new issue