diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix index cce9eae..5d63b9b 100644 --- a/modules/profiles/desktop.nix +++ b/modules/profiles/desktop.nix @@ -90,6 +90,19 @@ in stable.texlive.combined.scheme-full # NOTE breaks often thunderbird vlc + (symlinkJoin { + name = "obsidian-wayland"; + paths = [ obsidian ]; + nativeBuildInputs = [ makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/obsidian \ + --add-flags "--socket=wayland --enable-features=UseOzonePlatform --ozone-platform=wayland" + ''; + }) + ]; + + nixpkgs.config.permittedInsecurePackages = [ + "electron-25.9.0" # obsidian ]; programs.nix-ld.enable = true;