refactoring home manager modules
This commit is contained in:
parent
20de142350
commit
f59d282c12
44 changed files with 0 additions and 80 deletions
50
modules/home/editor/nvim.nix
Normal file
50
modules/home/editor/nvim.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.sneeuwvlok.editor.nvim;
|
||||
in {
|
||||
# imports = [
|
||||
# inputs.nvf.nixosModules.default
|
||||
# ];
|
||||
|
||||
options.sneeuwvlok.editor.nvim = {
|
||||
enable = mkEnableOption "enable nvim via nvf on user level";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
imagemagick
|
||||
editorconfig-core-c
|
||||
sqlite
|
||||
pandoc
|
||||
nuspell
|
||||
hunspellDicts.nl_NL
|
||||
hunspellDicts.en_GB-ise
|
||||
];
|
||||
|
||||
# programs.nvf = {
|
||||
# enable = true;
|
||||
# settings.vim = {
|
||||
# statusline.lualine.enable = true;
|
||||
# telescope.enable = true;
|
||||
# autocomplete.nvim-cmp.enable = true;
|
||||
|
||||
# lsp.enable = true;
|
||||
|
||||
# languages = {
|
||||
# enableTreesitter = true;
|
||||
|
||||
# nix.enable = true;
|
||||
# ts.enable = true;
|
||||
# rust.enable = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue