From 4bc06d0f07db9d3f4b3b1bb5206d9443547029bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Sat, 11 Oct 2025 21:59:20 +0200 Subject: [PATCH] feat[client]: add batsignal --- SwarselSystems.org | 18 ++++++++++++++++++ modules/home/common/batsignal.nix | 13 +++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 modules/home/common/batsignal.nix diff --git a/SwarselSystems.org b/SwarselSystems.org index 945af0f..fdbc8f9 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -14711,6 +14711,24 @@ This service changes the screen hue at night. I am not sure if that really does } #+end_src +**** batsignal + +#+begin_src nix-ts :tangle modules/home/common/batsignal.nix + { lib, config, ... }: + let + moduleName = "batsignal"; + in + { + options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings"; + config = lib.mkIf config.swarselmodules.${moduleName} { + services.${moduleName} = { + enable = true; + }; + }; + + } +#+end_src + **** swaylock diff --git a/modules/home/common/batsignal.nix b/modules/home/common/batsignal.nix new file mode 100644 index 0000000..30d4495 --- /dev/null +++ b/modules/home/common/batsignal.nix @@ -0,0 +1,13 @@ +{ lib, config, ... }: +let + moduleName = "batsignal"; +in +{ + options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings"; + config = lib.mkIf config.swarselmodules.${moduleName} { + services.${moduleName} = { + enable = true; + }; + }; + +}