also refactor nixos modules
This commit is contained in:
parent
2471562583
commit
b37c5c0cbd
44 changed files with 10 additions and 2 deletions
18
modules/nixos/editor/nvim.nix
Normal file
18
modules/nixos/editor/nvim.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.sneeuwvlok.editor.nvim;
|
||||
in {
|
||||
options.sneeuwvlok.editor.nvim = {
|
||||
enable = mkEnableOption "enable nvim via nvf on system level";
|
||||
};
|
||||
|
||||
config =
|
||||
mkIf cfg.enable {
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue