From c8f1f8d3931566413b5e9e9aa18283aa3d169191 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 26 Feb 2022 16:31:54 +0100 Subject: [PATCH] Set default editor --- home/default.nix | 1 + home/home.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 home/home.nix diff --git a/home/default.nix b/home/default.nix index f462e58..0281f2f 100644 --- a/home/default.nix +++ b/home/default.nix @@ -15,6 +15,7 @@ user: (import ./git.nix user) ./go.nix ./gtk.nix + ./home.nix ./htop.nix ./i3.nix ./lsd.nix diff --git a/home/home.nix b/home/home.nix new file mode 100644 index 0000000..a568a0c --- /dev/null +++ b/home/home.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + home.sessionVariables = { + EDITOR = "nvim"; + RUSTC_WRAPPER = "sccache"; + # JAVA_OPTS = "-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true"; + # TERM = "xterm-256color"; + }; +}