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 = [ packages = [
"flathub:app/us.zoom.Zoom//stable" "flathub:app/us.zoom.Zoom//stable"
"flathub:app/com.discordapp.Discord//stable" "flathub:app/com.discordapp.Discord//stable"
"flathub:app/md.obsidian.Obsidian//stable"
]; ];
overrides = { overrides = {
"global" = { global = {
filesystems = [ filesystems = [
"~/.local/share/icons" "~/.local/share/icons"
]; ];
environment = { environment = {
"MOZ_ENABLE_WAYLAND" = 1; "MOZ_ENABLE_WAYLAND" = 1;
}; };
};
"md.obsidian.Obsidian" = {
sockets = [ sockets = [
"!x11" "wayland"
"fallback-x11" "system-bus"
]; ];
}; };
}; };

View file

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