From d948aac0593dc52e3fb470bf1b3b26aef9021297 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 21 Dec 2024 13:43:54 -0500 Subject: [PATCH] automatic-timezoned: initial disabled service Signed-off-by: Myned --- options/custom/services/automatic-timezoned.nix | 15 +++++++++++++++ options/custom/services/default.nix | 1 + 2 files changed, 16 insertions(+) create mode 100644 options/custom/services/automatic-timezoned.nix diff --git a/options/custom/services/automatic-timezoned.nix b/options/custom/services/automatic-timezoned.nix new file mode 100644 index 0000000..2f768a7 --- /dev/null +++ b/options/custom/services/automatic-timezoned.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + ... +}: +with lib; let + cfg = config.custom.services.automatic-timezoned; +in { + options.custom.services.automatic-timezoned.enable = mkOption {default = false;}; + + config = mkIf cfg.enable { + # https://github.com/maxbrunet/automatic-timezoned + services.automatic-timezoned.enable = true; + }; +} diff --git a/options/custom/services/default.nix b/options/custom/services/default.nix index 1e8081d..3b61e74 100644 --- a/options/custom/services/default.nix +++ b/options/custom/services/default.nix @@ -6,6 +6,7 @@ with lib; { config.custom.services = mkMerge [ (mkIf config.custom.default { + #// automatic-timezoned.enable = true; #// agenix.enable = true; #// netbird.enable = true; tailscale.enable = true;