This commit is contained in:
Peder Bergebakken Sundt 2023-10-14 18:40:32 +02:00
parent 5f80da6be9
commit 8e86842fab
3 changed files with 14 additions and 7 deletions

View File

@ -114,8 +114,8 @@
});
discord = pkgs.discord.overrideAttrs (old: rec {
desktopItem = old.desktopItem.override (old: {
#exec = "${pkgs.coreutils}/bin/env NIXOS_OZONE_WL=1 ${old.exec}";
exec = "${pkgs.coreutils-full}/bin/env NIXOS_OZONE_WL=1 Discord";
exec = "${pkgs.coreutils}/bin/env NIXOS_OZONE_WL=1 ${old.exec}";
#exec = "${pkgs.coreutils-full}/bin/env NIXOS_OZONE_WL=1 Discord";
});
postInstall = ''
ln -sf "${desktopItem}/share/applications" $out/share/
@ -129,7 +129,8 @@
});
element-desktop = pkgs.element-desktop.overrideAttrs (old: {
desktopItem = old.desktopItem.override (old: {
exec = "element-desktop --disable-gpu --in-process-gpu %u";
#exec = "element-desktop --disable-gpu --in-process-gpu %u";
exec = "env NIXOS_OZONE_WL=1 element-desktop %u";
});
});
});

View File

@ -14,22 +14,27 @@
];
home.packages = with pkgs; [
wl-clipboard
discord
element-desktop#-wayland
element-desktop
#element-desktop-wayland
nheko
slack
telegram-desktop
teams
zoom-us
f3d
firefox
zotero
gnome.eog
gnome.eog # TODO: try loupe
gnome-connections
scrcpy
#spotify # use flathub version instead
transgui #transmission-remote-gtk
]
++ builtins.filter (drv: (builtins.tryEval drv.outPath).success) [
teams
zoom-us
];
# flatpak

View File

@ -78,6 +78,7 @@
fd # find alternative
silver-searcher # 'ag'
ripgrep # 'rg'
comby
gron
jq
fx