feat(nix-hm): install gromit-mpx

This commit is contained in:
Price Hiller 2024-03-16 00:33:11 -05:00
parent 4431ba11ad
commit f10064e237
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -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" ];