update system

This commit is contained in:
2025-07-23 12:05:59 +02:00
parent af6f381e49
commit abace8ec55
6 changed files with 125 additions and 3 deletions

View File

@@ -0,0 +1,36 @@
{
config,
lib,
pkgs,
username,
...
}:
let
cfg = config.shell.components.grimblast;
in
{
options.shell.components.grimblast = {
enable = lib.mkEnableOption (lib.mdDoc "Enable pre-configured grimblast");
};
config = lib.mkIf cfg.enable {
home-manager.users.${username} = {
wayland.windowManager.hyprland = {
settings = {
bind = [
"SUPER_SHIFT,V,exec,uwsm app -- ${lib.getExe pkgs.grimblast} --freeze copy area"
];
};
};
home = {
# bugged, freezes
sessionVariables.GRIMBLAST_EDITOR = "${lib.getExe pkgs.annotator}";
packages = with pkgs; [
grimblast
annotator
];
};
};
};
}