summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/5pkgs/simple/flameshot-once/profile.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/flameshot-once/profile.nix b/krebs/5pkgs/simple/flameshot-once/profile.nix
index cdc50ea84..269f13a66 100644
--- a/krebs/5pkgs/simple/flameshot-once/profile.nix
+++ b/krebs/5pkgs/simple/flameshot-once/profile.nix
@@ -64,6 +64,11 @@ let
default = true;
type = types.bool;
};
+ drawColor = mkOption {
+ default = "#ff0000";
+ type =
+ types.addCheck types.str (test "#[0-9A-Fa-f]{6}");
+ };
drawThickness = mkOption {
default = 8;
type = types.positive;
@@ -179,6 +184,7 @@ let
disabledTrayIcon = cfg.disabledTrayIcon;
checkForUpdates = false;
copyAndCloseAfterUpload = cfg.copyAndCloseAfterUpload;
+ drawColor = cfg.drawColor;
drawThickness = cfg.drawThickness;
filenamePattern = cfg.filenamePattern;
savePath = cfg.savePath;