mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-25 02:56:05 +01:00
18 lines
548 B
Nix
18 lines
548 B
Nix
{ config, pkgs, lib, ...}:
|
|
{
|
|
# TODO: Similar to signal-desktop, joplin-desktop crashes frequently on Wayland.
|
|
# As of 2023-10-20, the stable version did not start, but unstable does.
|
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "1";
|
|
|
|
users.users.yoda = {
|
|
packages = with pkgs; [
|
|
(
|
|
if (config.services.xserver.displayManager.gdm.wayland)
|
|
then unstable.joplin-desktop # Markdown notes
|
|
else joplin-desktop # Markdown notes
|
|
)
|
|
];
|
|
};
|
|
}
|