Compare commits

..

2 Commits

2 changed files with 15 additions and 1 deletions

View File

@ -43,6 +43,11 @@
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
inputs.nixpkgs.follows = "nixpkgs";
};
project-cloud = {
url = "git+https://git.project-cloud.net/asmir/project-cloud";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {
@ -55,6 +60,7 @@
sops-nix,
swaysw,
zremap,
project-cloud,
...
}: let
pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs;

View File

@ -2,6 +2,7 @@
config,
pkgs,
lib,
project-cloud,
...
}: {
imports = [];
@ -105,7 +106,7 @@
package = pkgs.nextcloud27;
config.adminpassFile = config.sops.secrets."nextcloud_admin".path;
configureRedis = true;
hostName = "project-cloud.net";
hostName = "cloud.project-cloud.net";
https = true;
extraOptions = {
mail_smtpmode = "sendmail";
@ -139,6 +140,13 @@
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."project-cloud.net" = {
quic = true;
forceSSL = true;
enableACME = true;
root = "${project-cloud}/public";
};
virtualHosts.${config.services.nextcloud.hostName} = {
quic = true;
forceSSL = true;