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,12 +5,12 @@
...
}:
let
cfg = config.myConfig.syncthing;
cfg = config.custom.services.syncthing;
user = config.users.users.syncthing.name;
in
{
options.myConfig.syncthing.backups.enable = lib.mkEnableOption "";
options.custom.services.syncthing.backups.enable = lib.mkEnableOption "";
config = lib.mkIf cfg.backups.enable {
assertions = [
@ -37,7 +37,7 @@ in
'';
};
myConfig.resticBackup.syncthing = {
custom.services.resticBackup.syncthing = {
inherit user;
healthchecks.enable = true;