feat: rewrite to more nixy flakes
This commit is contained in:
+17
-2
@@ -1,6 +1,21 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
configs ? pkgs.configs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
enable = true;
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
extraConfig =
|
||||
let
|
||||
config = configs.neovim;
|
||||
in
|
||||
''
|
||||
set runtimepath+=${config}
|
||||
source ${config}/init.lua
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user