From f10064e237ffba9ae66e3bdb7363353234cf33f3 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 16 Mar 2024 00:33:11 -0500 Subject: [PATCH] feat(nix-hm): install `gromit-mpx` --- config/default.nix | 58 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/config/default.nix b/config/default.nix index 5c990b84..beecd672 100644 --- a/config/default.nix +++ b/config/default.nix @@ -270,6 +270,63 @@ in { }; services = { + gromit-mpx = { + enable = true; + tools = [ + { + device = "default"; + type = "pen"; + size = 5; + color = "red"; + } + { + device = "default"; + type = "pen"; + size = 5; + color = "blue"; + modifiers = [ "SHIFT" ]; + } + { + device = "default"; + type = "pen"; + size = 5; + color = "yellow"; + modifiers = [ "CONTROL" ]; + } + { + device = "default"; + type = "pen"; + size = 6; + color = "green"; + arrowSize = 1; + modifiers = [ "2" ]; + } + { + device = "default"; + type = "eraser"; + size = 75; + modifiers = [ "3" ]; + } + { + device = "default"; + color = "red"; + arrowSize = 5; + modifiers = [ "CONTROL" "SHIFT" ]; + } + { + device = "default"; + color = "blue"; + arrowSize = 5; + modifiers = [ "CONTROL" "SHIFT" "2" ]; + } + { + device = "default"; + color = "yellow"; + arrowSize = 5; + modifiers = [ "CONTROL" "SHIFT" "3" ]; + } + ]; + }; cliphist.enable = true; easyeffects.enable = true; opensnitch-ui.enable = true; @@ -317,6 +374,7 @@ in { After = [ "compositor.target" ]; }; }; + gromit-mpx.Service.ExecStart = lib.mkForce "echo 'Disabled, managed by WM'"; opensnitch-ui = { Service.RestartSec = 3; Install.WantedBy = [ "compositor.target" ];