mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Fix repeating "service" key
This commit is contained in:
parent
2a17d428cd
commit
357a33b81f
1 changed files with 49 additions and 47 deletions
|
|
@ -13,7 +13,8 @@
|
|||
group = config.services.nextcloud.config.dbuser;
|
||||
};
|
||||
|
||||
services.nextcloud = {
|
||||
services = {
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud29;
|
||||
home = "/data/nextcloud";
|
||||
|
|
@ -47,7 +48,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
nginx = {
|
||||
enable = true;
|
||||
virtualHosts.${config.services.nextcloud.hostName}.listen = [
|
||||
{
|
||||
|
|
@ -57,12 +58,13 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.tailscale.permitCertUid = "caddy";
|
||||
services.caddy = {
|
||||
tailscale.permitCertUid = "caddy";
|
||||
caddy = {
|
||||
enable = true;
|
||||
virtualHosts.${config.services.nextcloud.hostName}.extraConfig = ''
|
||||
reverse_proxy localhost:8080
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue