Compare commits

...

2 Commits

Author SHA1 Message Date
Zynh Ludwig 43f82bdedb snowhawk: flameshot config 2024-07-30 23:12:14 -07:00
Zynh Ludwig a7ce699734 flameshot: module get 2024-07-30 23:09:02 -07:00
2 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,22 @@
{ lib, config, pkgs, ... }:
let
cfg = config.snowhawk.flameshot;
in
{
options.snowhawk.flameshot = {
enable = lib.mkEnableOption "flameshot home-manager module";
config = lib.mkOption {
type = with lib.types; attrsOf inferred;
description = "the flameshot config as an attrs of attrs";
default = { };
};
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ flameshot ];
xdg.configFile."flameshot/flameshot.ini" = lib.generators.toINI { } cfg.config;
};
}

View File

@ -23,12 +23,22 @@ in
playerctl.enable = true; playerctl.enable = true;
redshift.enable = true; redshift.enable = true;
xivlauncher.enable = true; xivlauncher.enable = true;
flameshot.enable = true;
}; };
snowhawk.ssh = { snowhawk.ssh = {
enable = true; enable = true;
homeNetwork = true; homeNetwork = true;
}; };
snowhawk.flameshot.config = {
General = {
contrastOpacity = 188;
contrastUiColor = "#8affc1";
drawColor = "#00ff00";
uiColor = "#007d96";
};
};
xsession.numlock.enable = true; xsession.numlock.enable = true;
services.unclutter.enable = true; services.unclutter.enable = true;
@ -59,8 +69,6 @@ in
obsidian obsidian
steam steam
flameshot
# Build Tools # Build Tools
rustup rustup
gnumake gnumake