1
1
Fork 0
nixos/options/custom/services/swayosd.nix
Myned ab485dec35
nix: format with alejandra
Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 20:50:53 -05:00

20 lines
529 B
Nix

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.services.swayosd;
in {
options.custom.services.swayosd.enable = mkOption {default = false;};
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
# https://github.com/ErikReider/SwayOSD
services.swayosd.enable = true;
### THEME ###
# https://github.com/ErikReider/SwayOSD/blob/main/data/style/style.scss
#!! Options not yet available, files written directly
home.file.".config/swayosd/style.css".text = '''';
};
}