nix-git/modules/element-desktop.nix
2024-11-21 21:19:42 +01:00

28 lines
929 B
Nix

{ config, pkgs, lib, ... }:
{
# TODO: Login does not work. Webbrowser does not redirect back to Element app. Firefox does not ask to open link with Element app. It works with the Flatpak version though.
#
# NixOS: /home/yoda/.config/Element /home/yoda/.config/Riot
# Flatpak: /home/yoda/.var/app/im.riot.Riot/config/Element
#
# Workaround:
# - Login with Flatpak version
# - Delete .config/Element and .config/Riot
# - Copy Flatpak into .config/Element
# - Start the NixOS version, you should be logged in :D
# TODO: No visible UI on yodaTux (AMD Ryzen 4800H)
# Console log:
# ac: Unknown GPU, using 0 for raster_config
# Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
#
# Workaround: Use Flatpak version ...
users.users.yoda = {
packages = with pkgs; [
# Matrix chat client.
unstable.element-desktop
];
};
}