{ lib, pkgs, config, ...}: let inherit (lib) mkIf mkEnableOption mkOption; cfg = config.chuj.stuff.flameshot; in { options.chuj.stuff.flameshot = { enable = mkEnableOption "flameshot"; }; config = mkIf cfg.enable { home-manager.users.krizej.services.flameshot = { enable = true; settings = { General = { disabledTrayIcon = true; showStartupLaunchMessage = false; }; }; }; }; }