feat: make options and conditionalize config
This commit is contained in:
1 parent
9642bae67d
commit
39da2abe9c
10 files changed
+196
-125
No files matched your search
@@ -1,3 +1,8 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./opts.nix
|
||||
@@ -5,17 +10,19 @@
|
||||
./plugins
|
||||
];
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
defaultEditor = true;
|
||||
config = lib.mkIf config.kekleo.neovim {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
defaultEditor = true;
|
||||
|
||||
colorschemes.tokyonight.enable = true;
|
||||
colorschemes.tokyonight.enable = true;
|
||||
|
||||
clipboard.providers.wl-copy.enable = true;
|
||||
clipboard.providers.wl-copy.enable = true;
|
||||
|
||||
globals.mapleader = " ";
|
||||
globals.mapleader = " ";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user