nix-git/modules/element-desktop.nix

28 lines
1.1 KiB
Nix
Raw Permalink Normal View History

{ config, pkgs, lib, ... }:
{
2024-11-21 22:05:45 +01:00
# Issue: 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.
2024-11-17 22:28:51 +01:00
#
2024-11-21 22:05:45 +01:00
# Configuration paths with user data:
# NixOS: /home/yoda/.config/Element /home/yoda/.config/Riot
# Flatpak: /home/yoda/.var/app/im.riot.Riot/config/Element
#
# Solution: Don't use element-desktop-wayland, use the normal element-desktop package instead
2024-11-17 22:28:51 +01:00
#
# 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
2024-10-29 10:47:50 +01:00
2024-11-21 22:05:45 +01:00
# Issue: No visible UI on yodaTux (AMD Ryzen 4800H) when using unstable.element-desktop
2024-11-17 22:56:07 +01:00
# Workaround: Use Flatpak version ...
2024-11-21 22:05:45 +01:00
# Discussion on GitHub: https://github.com/NixOS/nixpkgs/issues/343806 AMD GPUs and NixOS - 'Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)'
2024-11-17 22:56:07 +01:00
users.users.yoda = {
packages = with pkgs; [
2023-12-21 17:14:55 +01:00
# Matrix chat client.
2024-11-21 22:05:45 +01:00
element-desktop
];
};
}