aboutsummaryrefslogtreecommitdiff
path: root/modules/nvf.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nvf.nix')
-rw-r--r--modules/nvf.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/nvf.nix b/modules/nvf.nix
index 5b6f6d7..1f3c93a 100644
--- a/modules/nvf.nix
+++ b/modules/nvf.nix
@@ -1,11 +1,8 @@
{ config, lib, pkgs, ... }:
-let
- cfg = config.nvf;
-in {
+{
options.nvf.enable = lib.mkEnableOption "Setup nvf";
-
- config = lib.mkIf cfg.enable {
+ config = lib.mkIf config.nvf.enable {
programs.nvf = {
enable = true;
settings = {
@@ -59,6 +56,8 @@ in {
nix.enable = true;
};
+ formatter.conform-nvim.enable = true;
+
visuals = {
nvim-web-devicons.enable = true;
};
@@ -86,4 +85,4 @@ in {
};
};
};
-}
+} \ No newline at end of file