mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +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;
|
group = config.services.nextcloud.config.dbuser;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nextcloud = {
|
services = {
|
||||||
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud29;
|
package = pkgs.nextcloud29;
|
||||||
home = "/data/nextcloud";
|
home = "/data/nextcloud";
|
||||||
|
|
@ -47,7 +48,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts.${config.services.nextcloud.hostName}.listen = [
|
virtualHosts.${config.services.nextcloud.hostName}.listen = [
|
||||||
{
|
{
|
||||||
|
|
@ -57,12 +58,13 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tailscale.permitCertUid = "caddy";
|
tailscale.permitCertUid = "caddy";
|
||||||
services.caddy = {
|
caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts.${config.services.nextcloud.hostName}.extraConfig = ''
|
virtualHosts.${config.services.nextcloud.hostName}.extraConfig = ''
|
||||||
reverse_proxy localhost:8080
|
reverse_proxy localhost:8080
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue