Rename the namespace of the system-modules

This commit is contained in:
SebastianStork 2025-05-27 22:19:35 +02:00
parent 61f32cb7ea
commit 06623cd93a
34 changed files with 162 additions and 153 deletions

View file

@ -5,16 +5,16 @@
...
}:
let
cfg = config.myConfig.nextcloud;
cfg = config.custom.services.nextcloud;
dataDir = config.services.nextcloud.home;
user = config.users.users.nextcloud.name;
in
{
options.myConfig.nextcloud.backups.enable = lib.mkEnableOption "";
options.custom.services.nextcloud.backups.enable = lib.mkEnableOption "";
config = lib.mkIf cfg.backups.enable {
myConfig.resticBackup.nextcloud = {
custom.services.resticBackup.nextcloud = {
inherit user;
healthchecks.enable = true;

View file

@ -6,12 +6,12 @@
...
}:
let
cfg = config.myConfig.nextcloud;
cfg = config.custom.services.nextcloud;
user = config.users.users.nextcloud.name;
in
{
options.myConfig.nextcloud = {
options.custom.services.nextcloud = {
enable = lib.mkEnableOption "";
subdomain = lib.mkOption {
type = lib.types.nonEmptyStr;