From 36dde84e1594795d87802ce5a77066e2511f4a2e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Jul 2022 06:08:19 +0200 Subject: server: use neovim as default editor --- user/server.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/user/server.nix b/user/server.nix index c71cf37c..056f8e59 100644 --- a/user/server.nix +++ b/user/server.nix @@ -1,4 +1,6 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: + +with lib; { imports = [ @@ -8,4 +10,5 @@ ./settings/nixos.nix ./settings/zsh.nix ]; + home.sessionVariables.EDITOR = "${getBin config.programs.neovim.finalPackage}/bin/neovim"; } -- cgit 1.4.1