Compare commits
2 Commits
6e2ef44fd1
...
43f82bdedb
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | 43f82bdedb | |
Zynh Ludwig | a7ce699734 |
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -23,12 +23,22 @@ in
|
|||
playerctl.enable = true;
|
||||
redshift.enable = true;
|
||||
xivlauncher.enable = true;
|
||||
flameshot.enable = true;
|
||||
};
|
||||
snowhawk.ssh = {
|
||||
enable = true;
|
||||
homeNetwork = true;
|
||||
};
|
||||
|
||||
snowhawk.flameshot.config = {
|
||||
General = {
|
||||
contrastOpacity = 188;
|
||||
contrastUiColor = "#8affc1";
|
||||
drawColor = "#00ff00";
|
||||
uiColor = "#007d96";
|
||||
};
|
||||
};
|
||||
|
||||
xsession.numlock.enable = true;
|
||||
|
||||
services.unclutter.enable = true;
|
||||
|
@ -59,8 +69,6 @@ in
|
|||
obsidian
|
||||
steam
|
||||
|
||||
flameshot
|
||||
|
||||
# Build Tools
|
||||
rustup
|
||||
gnumake
|
||||
|
|
Loading…
Reference in New Issue