From 3e9c1efd83be33cb0a9ae740e7cf4d30a12322d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 27 Feb 2024 12:12:40 +0100 Subject: [PATCH] Move neovim to homemanager --- home/default.nix | 1 + home/editor/neovim/default.nix | 9 +++++++++ hosts/prismo/configuration.nix | 1 - 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 home/editor/neovim/default.nix 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