diff --git a/home/default.nix b/home/default.nix index 59c72b1..6a923e5 100644 --- a/home/default.nix +++ b/home/default.nix @@ -6,6 +6,7 @@ extraSpecialArgs = { inherit inputs user; }; users.${user} = { imports = [ + ./editor/neovim ./programs/firefox ./programs/tmux ./zsh diff --git a/home/editor/neovim/default.nix b/home/editor/neovim/default.nix new file mode 100644 index 0000000..56c0c7c --- /dev/null +++ b/home/editor/neovim/default.nix @@ -0,0 +1,9 @@ +{ pkgs, ...}: { + programs = { + neovim = { + enable = true; + defaultEditor = true; + }; + }; + home.sessionVariables.EDITOR = "nvim"; +} diff --git a/hosts/prismo/configuration.nix b/hosts/prismo/configuration.nix index e2d8029..6bac5e7 100644 --- a/hosts/prismo/configuration.nix +++ b/hosts/prismo/configuration.nix @@ -54,7 +54,6 @@ vim wget curl - neovim alacritty greetd.tuigreet git