fix: Revert back to cage and chrome extension keyboard
This commit is contained in:
committed by
Hunter Halloran
parent
c30f3fc139
commit
e97fd17f2a
38
sw-kiosk.nix
38
sw-kiosk.nix
@@ -1,41 +1,8 @@
|
|||||||
{ pkgs, inputs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.wayfire.enable = true;
|
|
||||||
|
|
||||||
environment.etc."wayfire.ini".text = ''
|
|
||||||
[core]
|
|
||||||
plugins = autostart wlr-layer-shell virtual-keyboard idle
|
|
||||||
|
|
||||||
[autostart]
|
|
||||||
chromium = ${pkgs.chromium}/bin/chromium \
|
|
||||||
--enable-features=UseOzonePlatform \
|
|
||||||
--ozone-platform=wayland \
|
|
||||||
--kiosk https://ha.factory.uga.edu
|
|
||||||
|
|
||||||
keyboard = ${pkgs.squeekboard}/bin/squeekboard
|
|
||||||
'';
|
|
||||||
|
|
||||||
services.greetd = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
default_session = {
|
|
||||||
user = "engr-ugaif";
|
|
||||||
command = ''
|
|
||||||
env WAYFIRE_CONFIG_FILE=/etc/wayfire.ini \
|
|
||||||
/run/current-system/sw/bin/wayfire
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
i18n.inputMethod = {
|
|
||||||
enable = true;
|
|
||||||
type = "fcitx5";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.cage = {
|
services.cage = {
|
||||||
enable = false;
|
enable = true;
|
||||||
user = "engr-ugaif";
|
user = "engr-ugaif";
|
||||||
program = "${(pkgs.writeShellScriptBin "chromium-kiosk" ''
|
program = "${(pkgs.writeShellScriptBin "chromium-kiosk" ''
|
||||||
sleep 5
|
sleep 5
|
||||||
@@ -80,7 +47,6 @@
|
|||||||
oh-my-posh
|
oh-my-posh
|
||||||
zsh
|
zsh
|
||||||
git
|
git
|
||||||
squeekboard
|
|
||||||
dbus
|
dbus
|
||||||
inputs.lazyvim-nixvim.packages.${stdenv.hostPlatform.system}.nvim
|
inputs.lazyvim-nixvim.packages.${stdenv.hostPlatform.system}.nvim
|
||||||
];
|
];
|
||||||
@@ -88,7 +54,7 @@
|
|||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
# "ofelldpjbfeheadojfhkagakafgghlji" # Chrome Virtual Keyboard
|
"ecjkcanpimnagobhegghdeeiagffoidk" # Chrome Virtual Keyboard
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user