handle xdg on darwin

This commit is contained in:
Adithya 2023-06-10 13:37:52 +05:30
parent 74eacd6f45
commit 6bd6bf2141
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -1,8 +1,9 @@
{pkgs, ...}: { {pkgs, ...}: {
#xdg.desktopEntries."nvim".name = "Neovim wrapper"; xdg.desktopEntries = if pkgs.stdenv.isLinux then {
#xdg.desktopEntries."nvim".exec = "nvim %F"; "nvim".name = "Neovim wrapper";
#xdg.desktopEntries."nvim".noDisplay = true; "nvim".exec = "nvim %F";
"nvim".noDisplay = true;
} else {};
programs.neovim = { programs.neovim = {
enable = true; enable = true;
viAlias = true; viAlias = true;