mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
element-desktop on Wayland and X11
This commit is contained in:
parent
9c82802ee4
commit
6cc35d471c
@ -2,18 +2,12 @@
|
|||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# Matrix clients
|
# Matrix chat client.
|
||||||
element-desktop
|
(
|
||||||
#fluffychat
|
if (config.services.xserver.displayManager.gdm.wayland)
|
||||||
# Web version: https://app.cinny.in/
|
then element-desktop-wayland
|
||||||
#cinny-desktop
|
else element-desktop
|
||||||
# E2E encryption is not yet implemented: https://gitlab.gnome.org/GNOME/fractal/-/issues/717
|
)
|
||||||
#fractal
|
|
||||||
#nheko
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# The Element package already includes a wrapper that automatically adds `--enable-features=UseOzonePlatform` and `--ozone-platform=wayland` when `NIXOS_OZONE_WL` is set.
|
|
||||||
# https://discourse.nixos.org/t/partly-overriding-a-desktop-entry/20743/2
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "1";
|
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,13 @@
|
|||||||
meld # Diff and merge tool
|
meld # Diff and merge tool
|
||||||
handbrake # Rip DVD and Blu-ray; rotate and export videos
|
handbrake # Rip DVD and Blu-ray; rotate and export videos
|
||||||
mediainfo-gui # View video metadata.
|
mediainfo-gui # View video metadata.
|
||||||
|
|
||||||
fractal # Matrix chat client.
|
fractal # Matrix chat client.
|
||||||
|
# Other Matrix clients.
|
||||||
|
# fluffychat
|
||||||
|
# Web version: https://app.cinny.in/
|
||||||
|
# cinny-desktop
|
||||||
|
# element-desktop, see `element-desktop.nix`
|
||||||
|
|
||||||
#
|
#
|
||||||
# 3D modeling and printing
|
# 3D modeling and printing
|
||||||
|
Loading…
Reference in New Issue
Block a user