server: use neovim as default editor
Alan Pearce alan@alanpearce.eu
Sat, 16 Jul 2022 06:08:19 +0200
1 files changed, 4 insertions(+), 1 deletions(-)
jump to
M user/server.nix → user/server.nix
@@ -1,4 +1,6 @@-{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: + +with lib; { imports = [ @@ -8,4 +10,5 @@ ./settings/nix.nix ./settings/nixos.nix ./settings/zsh.nix ]; + home.sessionVariables.EDITOR = "${getBin config.programs.neovim.finalPackage}/bin/neovim"; }