Switch Obsidian to flatpak from native

Had problems getting it to display on Wayland
This commit is contained in:
GHOSCHT 2024-05-06 17:39:21 +02:00
parent 96286d85e9
commit 6652435bd4
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 6 additions and 4 deletions

View file

@ -10,18 +10,21 @@
packages = [
"flathub:app/us.zoom.Zoom//stable"
"flathub:app/com.discordapp.Discord//stable"
"flathub:app/md.obsidian.Obsidian//stable"
];
overrides = {
"global" = {
global = {
filesystems = [
"~/.local/share/icons"
];
environment = {
"MOZ_ENABLE_WAYLAND" = 1;
};
};
"md.obsidian.Obsidian" = {
sockets = [
"!x11"
"fallback-x11"
"wayland"
"system-bus"
];
};
};

View file

@ -1,6 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
xournalpp
obsidian
];
}