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

@ -5,13 +5,11 @@
exports = ''
/export/JimboNFS/Downloads *(rw,sync,no_subtree_check)
/export/JimboNFS/Documents *(rw,sync,no_subtree_check)
/export/JimboNFS/Photos *(rw,sync,no_subtree_check)
/export/JimboNFS/Videos/Random *(rw,sync,no_subtree_check)
/export/JimboNFS/Videos/Media *(rw,sync,no_subtree_check)
/export/JimboNFS/Music/Synced *(rw,sync,no_subtree_check)
/export/JimboNFS/Music/Unsynced *(rw,sync,no_subtree_check)
/export/JimboNFS/Projects *(rw,sync,no_subtree_check)
/export/JimboNFS/School *(rw,sync,no_subtree_check)
/export/JimboNFS/Videos *(rw,sync,no_subtree_check)
/export/JimboNFS/Music *(rw,sync,no_subtree_check)
'';
};
}

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 = {