home_packages: add wrapper to qcad to use xcb as QT_QPA_PLATFORM
This commit is contained in:
parent
15e60767b6
commit
f7eda08683
@ -14,6 +14,9 @@
|
||||
chromium_stackfield = pkgs.writeShellScriptBin "chromium_stackfield" ''
|
||||
${lib.getExe pkgs.ungoogled-chromium} --socket=wayland org.chromium.Chromium --app=https://stackfield.com/
|
||||
'';
|
||||
qcad = pkgs.writeShellScriptBin "qcad" ''
|
||||
QT_QPA_PLATFORM=xcb ${lib.getExe pkgs.qcad} $@
|
||||
'';
|
||||
ssh_proxy = pkgs.writeShellScriptBin "ssh_proxy" ''
|
||||
if ${pkgs.coreutils}/bin/test $# -ne 1; then
|
||||
echo "Usage: $0 <user>@<ssh_host>"
|
||||
@ -114,7 +117,6 @@ in {
|
||||
pwvucontrol
|
||||
python3
|
||||
python3Packages.west
|
||||
qcad
|
||||
remmina
|
||||
river
|
||||
rtorrent
|
||||
@ -155,6 +157,7 @@ in {
|
||||
chromium_teams
|
||||
ssh_proxy
|
||||
wrap_sh
|
||||
qcad
|
||||
]
|
||||
++ [
|
||||
inputs.swaysw.packages.${system}.swaysw
|
||||
|
Loading…
Reference in New Issue
Block a user