Begin the move to the import all, activate by config model

This commit is contained in:
Jimbo 2024-11-04 22:41:38 -05:00
parent 7397b614de
commit 07cb2d67a2
97 changed files with 776 additions and 633 deletions

View file

@ -1,12 +1,10 @@
{ pkgs, config, ... }:
{
imports = [
./nginx
];
imports = [ ./nginx ];
services.nextcloud = {
enable = true;
package = pkgs.nextcloud29;
package = pkgs.nextcloud30;
hostName = "cloud.${config.domains.jim1}";
datadir = "/mnt/nextcloud";
https = true;

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ config, ... }:
{
services.nginx.virtualHosts."cloud.${config.domains.jim1}" = {
enableACME = true;

View file

@ -1,8 +1,6 @@
{ config, ... }:
{
imports = [
./nginx
];
imports = [ ./nginx ];
services = {
photoprism = {