refactor(treewide): clean-up, flatten, rework module system
This commit is contained in:
parent
4ddf9d2b35
commit
5590c8a951
58 changed files with 397 additions and 635 deletions
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
let
|
||||
inherit (config.colorscheme) palette;
|
||||
cfg = config.ooknet.console.editor.nvim;
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.ooknet.editor.nvim;
|
||||
console = config.ooknet.console;
|
||||
in
|
||||
|
||||
{
|
||||
|
|
@ -13,7 +15,7 @@ in
|
|||
./plugins
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = mkIf (cfg.enable || console.editor == "nvim") {
|
||||
programs.neovim = {
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue