diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-25 08:03:51 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-31 08:43:09 +0100 |
| commit | ebbbdf264eb5d26701012305eb53f2b295087fb6 (patch) | |
| tree | 3ddb29daf7a1c2bd4edb4f1c2ed233d1dbec7a22 /nixos/shared | |
| parent | b6d8aa299d47305a31a8dc88aae65aa29e6ab78e (diff) | |
refactor: move local service options under local.services
Diffstat (limited to 'nixos/shared')
| -rw-r--r-- | nixos/shared/monitoring.nix | 4 | ||||
| -rw-r--r-- | nixos/shared/restic-database-backups.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/shared/monitoring.nix b/nixos/shared/monitoring.nix index ede2189..80486c4 100644 --- a/nixos/shared/monitoring.nix +++ b/nixos/shared/monitoring.nix @@ -1,11 +1,11 @@ { config, lib, pkgs, ... }: let - cfg = config.monitoring; + cfg = config.local.services.monitoring; helpers = import ../helpers.nix { inherit config lib pkgs; }; in { - options.monitoring = { + options.local.services.monitoring = { lokiPort = lib.mkOption { type = lib.types.int; }; diff --git a/nixos/shared/restic-database-backups.nix b/nixos/shared/restic-database-backups.nix index f1f6f36..79af4a0 100644 --- a/nixos/shared/restic-database-backups.nix +++ b/nixos/shared/restic-database-backups.nix @@ -3,10 +3,10 @@ with lib; let - cfg = config.restic-database-backups; + cfg = config.local.services.restic-database-backups; in { - options.restic-database-backups = { + options.local.services.restic-database-backups = { repository = mkOption { type = types.str; description = "Restic repository URL."; |
