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, ...}: {
|
{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;
|
||||||
|
|
Loading…
Reference in a new issue