1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 02:43:24 +03:00

examples/demo: Add onboard keyboard

This commit is contained in:
Samuel Dionne-Riel 2019-10-06 23:25:02 -04:00
parent 1b9d6f6b9a
commit 1650f9ebba

View File

@ -160,5 +160,18 @@ in
source = ./xdg/awesome;
};
}
# Onboard on-screen keyboard
{
environment.systemPackages = with pkgs; [
onboard
];
environment.etc."xdg/autostart/onboard-autostart.desktop" = {
source = pkgs.runCommandNoCC "onboard-autostart.desktop" {} ''
cat "${pkgs.onboard}/etc/xdg/autostart/onboard-autostart.desktop" > $out
echo "X-XFCE-Autostart-Override=true" >> $out
'';
};
}
];
}