From da68527e3c9dcfdd7b11e5ae4156c4c76eea29ee Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sun, 1 Sep 2024 13:41:49 +0100 Subject: [PATCH] add nixvim as text editor --- home-manager/home.nix | 2 +- home-manager/nixvim.nix | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 home-manager/nixvim.nix diff --git a/home-manager/home.nix b/home-manager/home.nix index 45d6481..b16a77b 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -13,6 +13,7 @@ # ./librewolf.nix ./zsh.nix ./eza.nix + ./nixvim.nix ]; # States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed @@ -52,7 +53,6 @@ ]; home.sessionVariables = { - EDITOR = "nano"; DEFAULT_BROWSER = "${lib.getExe pkgs.firefox}"; # Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf GDK_SCALE = 1; diff --git a/home-manager/nixvim.nix b/home-manager/nixvim.nix new file mode 100644 index 0000000..59ce20c --- /dev/null +++ b/home-manager/nixvim.nix @@ -0,0 +1,7 @@ +{config, pkgs, ... }: { + programs.nixvim = { + enable = true; + + plugins.neotree.enable = true; + }; +}