mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
d2858a640b
Former-commit-id: 08b9ef2677
17 lines
381 B
Nix
17 lines
381 B
Nix
{ pkgs, config, ... }: {
|
|
|
|
environment.systemPackages = with pkgs; [ nextcloud29 ];
|
|
|
|
services.nextcloud = {
|
|
enable = true;
|
|
package = pkgs.nextcloud29;
|
|
hostName = "cloud.anotherhadi.com";
|
|
config.adminpassFile = "/etc/nextcloudpwd";
|
|
};
|
|
|
|
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
|
forceSSL = false;
|
|
enableACME = false;
|
|
};
|
|
}
|