feat(desktop): add obsidian (with wayland support)
parent
e07c55d902
commit
ad8ff7d016
|
@ -90,6 +90,19 @@ in
|
||||||
stable.texlive.combined.scheme-full # NOTE breaks often
|
stable.texlive.combined.scheme-full # NOTE breaks often
|
||||||
thunderbird
|
thunderbird
|
||||||
vlc
|
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;
|
programs.nix-ld.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue