add nextcloud to alexandria
This commit is contained in:
parent
7c61786305
commit
077d0895b4
4 changed files with 44 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
./jellyfin.nix
|
||||
./librespeed.nix
|
||||
./minecraft.nix
|
||||
./nextcloud.nix
|
||||
./nginx.nix
|
||||
./paperless.nix
|
||||
./searx.nix
|
||||
|
|
|
|||
27
hosts/servers/alexandria/nextcloud.nix
Normal file
27
hosts/servers/alexandria/nextcloud.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud27;
|
||||
hostname = "nextcloud.baduhai.me";
|
||||
configureRedis = true;
|
||||
caching.apcu = false;
|
||||
https = true;
|
||||
sercreFile = config.age.secrets.nextcloud.path;
|
||||
};
|
||||
|
||||
nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||
useACMEHost = "baduhai.me";
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets.nextcloud = {
|
||||
file = ../../../secrets/nextcloud.json.age;
|
||||
owner = "nextcloud";
|
||||
group = "hosted";
|
||||
};
|
||||
}
|
||||
|
|
@ -23,7 +23,6 @@ in {
|
|||
qbittorrent = mkStringOption "8008";
|
||||
actual = mkStringOption "8009";
|
||||
pairdrop = mkStringOption "8010";
|
||||
miniflux = mkStringOption "8011";
|
||||
jellyfin = mkStringOption "8096";
|
||||
sonarr = mkStringOption "8989";
|
||||
jackett = mkStringOption "9117";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue