summaryrefslogtreecommitdiff
path: root/home/editors
diff options
context:
space:
mode:
Diffstat (limited to 'home/editors')
-rw-r--r--home/editors/helix.nix7
-rw-r--r--home/editors/nixvim.nix12
-rw-r--r--home/editors/nvf.nix42
3 files changed, 61 insertions, 0 deletions
diff --git a/home/editors/helix.nix b/home/editors/helix.nix
new file mode 100644
index 0000000..0204f8d
--- /dev/null
+++ b/home/editors/helix.nix
@@ -0,0 +1,7 @@
+{ pkgs, ... }:
+{
+ programs.helix = {
+ enable = true;
+# package = pkgs.helix;
+ };
+}
diff --git a/home/editors/nixvim.nix b/home/editors/nixvim.nix
new file mode 100644
index 0000000..48792a0
--- /dev/null
+++ b/home/editors/nixvim.nix
@@ -0,0 +1,12 @@
+{ inputs, pkgs, ... }:
+{
+ imports = [ inputs.nixvim.homeModules.nixvim ];
+ programs.nixvim = {
+ enable = true;
+ package = inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default;
+ extraPlugins = [ pkgs.vimPlugins.gruvbox ];
+ colorscheme = "gruvbox";
+ viAlias = true;
+ vimAlias = true;
+ };
+}
diff --git a/home/editors/nvf.nix b/home/editors/nvf.nix
new file mode 100644
index 0000000..428f41f
--- /dev/null
+++ b/home/editors/nvf.nix
@@ -0,0 +1,42 @@
+{ inputs, pkgs, ... }:
+
+{
+ programs.nvf = {
+ enable = true;
+
+ settings.vim = {
+ package= inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default;
+
+ viAlias = true;
+ vimAlias = true;
+
+ theme = {
+ enable = true;
+ name = "gruvbox";
+ style = "dark";
+ };
+
+ statusline = {
+ lualine = {
+ enable = true;
+ theme = "gruvbox-material";
+ };
+ };
+
+ autopairs.nvim-autopairs.enable = true;
+
+ lsp.enable = true;
+
+ languages = {
+ nix = {
+ enable = true;
+ format = {
+ enable = true;
+ type = "alejandra";
+ };
+ };
+ clang.enable = true;
+ };
+ };
+ };
+}