mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-01-22 09:32:38 +00:00
refactor: make the whole thing more generic
This commit is contained in:
6
modules/home-manager/packages/threema-desktop.nix
Normal file
6
modules/home-manager/packages/threema-desktop.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ pkgs }:
|
||||
pkgs.threema-desktop.overrideAttrs (prev: {
|
||||
postFixup = prev.postFixup + ''
|
||||
echo "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}" >> $out/bin/threema
|
||||
'';
|
||||
})
|
||||
Reference in New Issue
Block a user