handle xdg on darwin
This commit is contained in:
parent
74eacd6f45
commit
6bd6bf2141
1 changed files with 5 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
#xdg.desktopEntries."nvim".name = "Neovim wrapper";
|
||||
#xdg.desktopEntries."nvim".exec = "nvim %F";
|
||||
#xdg.desktopEntries."nvim".noDisplay = true;
|
||||
|
||||
xdg.desktopEntries = if pkgs.stdenv.isLinux then {
|
||||
"nvim".name = "Neovim wrapper";
|
||||
"nvim".exec = "nvim %F";
|
||||
"nvim".noDisplay = true;
|
||||
} else {};
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
|
|
Loading…
Reference in a new issue