mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
23 lines
310 B
Nix
23 lines
310 B
Nix
{
|
|
tree,
|
|
std,
|
|
...
|
|
}: let
|
|
stdarg = _: {
|
|
_module.args = {
|
|
inherit std;
|
|
};
|
|
};
|
|
in {
|
|
xdg.mimeApps.defaultApplications = {
|
|
"text/plain" = "nvim.desktop";
|
|
};
|
|
programs.nixvim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
imports = [
|
|
stdarg
|
|
tree.nixvim
|
|
];
|
|
};
|
|
}
|