From e4c1cd0790129485078d3a4a4c7ad1ce9676a8fd Mon Sep 17 00:00:00 2001 From: LunarAkai Date: Fri, 14 Mar 2025 16:12:32 +0100 Subject: [PATCH] a --- configuration.nix | 1 + flake.nix | 1 + nvf-configuration.nix | 22 +++++++++++++++++++++- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 5a01cd4..2104e1b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -98,6 +98,7 @@ gnome-software git neovim + rustup ]; }; diff --git a/flake.nix b/flake.nix index 9d408f4..2207f07 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,7 @@ ./configuration.nix inputs.home-manager.nixosModules.default nvf.nixosModules.default + ./nvf-configuration.nix ]; }; }; diff --git a/nvf-configuration.nix b/nvf-configuration.nix index a7452a5..de03f2b 100644 --- a/nvf-configuration.nix +++ b/nvf-configuration.nix @@ -1,5 +1,25 @@ { pkgs, lib, ... }: { - vim.languages.nix.enable = true + programs.nvf = { + enable = true; + settings.vim = { + theme = { + enable = true; + name = "catppuccin"; + style = "macchiato"; + }; + + statusline.lualine.enable = true; + telescope.enable = true; + + languages = { + enableLSP = true; + enableTreesitter = true; + + nix.enable = true; + rust.enable = true; + }; + }; + }; }