mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat[client]: add batsignal
This commit is contained in:
parent
ca9e922e6e
commit
4bc06d0f07
2 changed files with 31 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
13
modules/home/common/batsignal.nix
Normal file
13
modules/home/common/batsignal.nix
Normal file
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue