home/fuji: add squeekboard
This commit is contained in:
+18
-2
@@ -343,9 +343,13 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/desktop/input-sources".sources = [ (lib.hm.gvariant.mkTuple [ "xkb" "us" ]) ];
|
||||||
|
"org/gnome/desktop/a11y/applications".screen-keyboard-enabled = true;
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
wayland-pipewire-idle-inhibit = {
|
wayland-pipewire-idle-inhibit = {
|
||||||
Unit.Description = "inhibit sleep while audio output is active";
|
Unit.Description = "inhibit sleep while audio output is active";
|
||||||
Service = {
|
Service = {
|
||||||
@@ -417,7 +421,19 @@ in
|
|||||||
Install.WantedBy = [ "graphical-session.target" ];
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
squeekboard = {
|
||||||
|
Unit = {
|
||||||
|
Description = "squeekboard on-screen keyboard (tablet mode)";
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
After = [ "graphical-session.target" ];
|
||||||
|
StartLimitIntervalSec = 0;
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${pkgs.squeekboard}/bin/squeekboard";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user