Switch Obsidian to flatpak from native
Had problems getting it to display on Wayland
This commit is contained in:
parent
96286d85e9
commit
6652435bd4
2 changed files with 6 additions and 4 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
xournalpp
|
xournalpp
|
||||||
obsidian
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue