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 { discord = pkgs.discord.overrideAttrs (old: rec {
desktopItem = old.desktopItem.override (old: { desktopItem = old.desktopItem.override (old: {
#exec = "${pkgs.coreutils}/bin/env NIXOS_OZONE_WL=1 ${old.exec}"; 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-full}/bin/env NIXOS_OZONE_WL=1 Discord";
}); });
postInstall = '' postInstall = ''
ln -sf "${desktopItem}/share/applications" $out/share/ ln -sf "${desktopItem}/share/applications" $out/share/
@ -129,7 +129,8 @@
}); });
element-desktop = pkgs.element-desktop.overrideAttrs (old: { element-desktop = pkgs.element-desktop.overrideAttrs (old: {
desktopItem = old.desktopItem.override (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; [ home.packages = with pkgs; [
wl-clipboard
discord discord
element-desktop#-wayland element-desktop
#element-desktop-wayland
nheko
slack slack
telegram-desktop telegram-desktop
teams
zoom-us
f3d f3d
firefox firefox
zotero zotero
gnome.eog gnome.eog # TODO: try loupe
gnome-connections gnome-connections
scrcpy scrcpy
#spotify # use flathub version instead #spotify # use flathub version instead
transgui #transmission-remote-gtk transgui #transmission-remote-gtk
]
++ builtins.filter (drv: (builtins.tryEval drv.outPath).success) [
teams
zoom-us
]; ];
# flatpak # flatpak

View File

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