squeekboard
This commit is contained in:
17
sw-kiosk.nix
17
sw-kiosk.nix
@@ -26,11 +26,19 @@
|
|||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
exec ${pkgs.chromium}/bin/chromium \
|
exec ${pkgs.chromium}/bin/chromium \
|
||||||
--kiosk "https://ha.factory.uga.edu"
|
--kiosk "https://ha.factory.uga.edu" \
|
||||||
|
--enable-features=UseOzonePlatform \
|
||||||
|
--ozone-platform=wayland
|
||||||
}
|
}
|
||||||
|
|
||||||
# On-screen keyboard (once you add wvkbd)
|
# Required for squeekboard + fcitx5
|
||||||
exec_always ${pkgs.wvkbd}/bin/wvkbd-mobintl
|
set $env IM_MODULE fcitx
|
||||||
|
set $env GTK_IM_MODULE fcitx
|
||||||
|
set $env QT_IM_MODULE fcitx
|
||||||
|
set $env XMODIFIERS "@im=fcitx"
|
||||||
|
exec_always fcitx5
|
||||||
|
exec_always squeekboard-im
|
||||||
|
exec_always squeekboard
|
||||||
|
|
||||||
# Basic output config if needed
|
# Basic output config if needed
|
||||||
output * scale 1
|
output * scale 1
|
||||||
@@ -39,6 +47,9 @@
|
|||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
services.dbus.implementation = "dbus";
|
services.dbus.implementation = "dbus";
|
||||||
|
|
||||||
|
i18n.inputMethod.enabled = "fcitx5";
|
||||||
|
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-squeekboard ];
|
||||||
|
|
||||||
services.cage = {
|
services.cage = {
|
||||||
enable = false;
|
enable = false;
|
||||||
user = "engr-ugaif";
|
user = "engr-ugaif";
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ in
|
|||||||
engr-ugaif = {
|
engr-ugaif = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "UGA Innovation Factory";
|
description = "UGA Innovation Factory";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "video" "input" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
kdePackages.kate
|
kdePackages.kate
|
||||||
] ++ pythonPkgs;
|
] ++ pythonPkgs;
|
||||||
|
|||||||
Reference in New Issue
Block a user