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:
parent
1b9d6f6b9a
commit
1650f9ebba
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user