1
1
Fork 0
nixos/options/custom/services/swayosd.nix
2024-11-17 17:27:14 -06:00

20 lines
526 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
xdg.configFile."swayosd/style.css".text = '''';
};
}