From 6a6229b921dafd78273b652fef92ceb045663547 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 24 May 2024 14:02:14 +0200 Subject: fix(modules/system/services{adb,backup}): Add `services` to option path --- modules/system/services/adb/default.nix | 4 ++-- modules/system/services/backup/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/system') diff --git a/modules/system/services/adb/default.nix b/modules/system/services/adb/default.nix index 4055dbb1..ec5d4be6 100644 --- a/modules/system/services/adb/default.nix +++ b/modules/system/services/adb/default.nix @@ -3,9 +3,9 @@ config, ... }: let - cfg = config.soispha.adb; + cfg = config.soispha.services.adb; in { - options.soispha.adb = { + options.soispha.services.adb = { enable = lib.mkEnableOption "Android adb bridge"; user = lib.mkOption { type = lib.types.str; diff --git a/modules/system/services/backup/default.nix b/modules/system/services/backup/default.nix index 705dcf23..e5f6e241 100644 --- a/modules/system/services/backup/default.nix +++ b/modules/system/services/backup/default.nix @@ -10,9 +10,9 @@ ${pkgs.util-linux}/bin/umount "/run/media/${cfg.backupDiskUuid}"; ''; - cfg = config.soispha.backup; + cfg = config.soispha.services.backup; in { - options.soispha.backup = { + options.soispha.services.backup = { enable = lib.mkEnableOption "backups with my forked snap-sync"; backupDiskUuid = lib.mkOption { type = lib.types.str; -- cgit 1.4.1