summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/server.nix5
1 files changed, 4 insertions, 1 deletions
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";
 }