summaryrefslogtreecommitdiff
path: root/hm/editors
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-03-15 22:13:15 +0100
committeradikro <adikro@disroot.org>2026-03-15 22:13:15 +0100
commit18f08bf53591f3e68043730a627889957009deb6 (patch)
tree228a31ab5489e98253e963424cd064d57dcd7a6e /hm/editors
parent8eb0e90219a4de87d8d476e15329e14720f091c6 (diff)
browser stuff
Diffstat (limited to 'hm/editors')
-rw-r--r--hm/editors/editors.nix2
-rw-r--r--hm/editors/nvf/nvf.nix (renamed from hm/editors/nvf.nix)28
2 files changed, 19 insertions, 11 deletions
diff --git a/hm/editors/editors.nix b/hm/editors/editors.nix
index 02c349b..1dac436 100644
--- a/hm/editors/editors.nix
+++ b/hm/editors/editors.nix
@@ -3,6 +3,6 @@
imports = [
./helix.nix
./nixvim/nixvim.nix
- # ./nvf.nix
+ ./nvf/nvf.nix
];
}
diff --git a/hm/editors/nvf.nix b/hm/editors/nvf/nvf.nix
index 6da28fe..f9ba866 100644
--- a/hm/editors/nvf.nix
+++ b/hm/editors/nvf/nvf.nix
@@ -1,8 +1,16 @@
-{ inputs, config, lib, pkgs, ... }:
+{
+ inputs,
+ config,
+ lib,
+ pkgs,
+ ...
+}:
let
cfg = config.hm.editors.nvf;
in
{
+ imports = [ inputs.nvf.homeManagerModules.default ];
+
options.hm.editors.nvf.enable = lib.mkEnableOption "enables nvf configuration framework";
config = lib.mkIf cfg.enable {
programs.nvf = {
@@ -13,13 +21,13 @@ in
viAlias = true;
vimAlias = true;
-
+
theme = {
enable = true;
name = "gruvbox";
style = "dark";
};
-
+
statusline = {
lualine = {
enable = true;
@@ -27,19 +35,19 @@ in
};
};
- autopairs.nvim-autopairs.enable = true;
+ autopairs.nvim-autopairs.enable = true;
lsp.enable = true;
- languages = {
- nix = {
- enable = true;
- format = {
+ languages = {
+ nix = {
enable = true;
- type = "alejandra";
+ format = {
+ enable = true;
+ type = "alejandra";
};
};
- clang.enable = true;
+ clang.enable = true;
};
};
};