nixos-dotfiles/hosts/titan/services/cloud.nix
Alex Stan 12f52e1bf3 klhadfkg
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
2024-11-11 11:26:41 +02:00

24 lines
716 B
Nix

inputs: { pkgs, config, ... }: {
services.nextcloud = {
enable = true;
package = pkgs.nextcloud30;
hostName = "localhost";
config = {
adminpassFile = "/var/keys/nextcloud_initial_password";
extraTrustedDomains = [
"cloud.gra.phite.ro"
];
overwriteProtocol = "https";
};
extraApps = with pkgs.nextcloud30Packages.apps; {
inherit (pkgs.nextcloud30Packages.apps) memories music onlyoffice polls calendar tasks contacts;
};
/*
extraOptions = {
trusted_domains = [ "https://cloud.gra.phite.ro" ];
};
*/
extraAppsEnable = true;
};
services.nginx.virtualHosts."localhost".listen = [ { addr = "127.0.0.1"; port = 3001; } ];
}