From b85e875378b7355e10ee8d2253f3cab327854306 Mon Sep 17 00:00:00 2001 From: ene Date: Tue, 21 Feb 2023 19:52:20 +0100 Subject: Fix(zsh): Set better environment variables --- home-manager/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'home-manager/default.nix') diff --git a/home-manager/default.nix b/home-manager/default.nix index bfe3859a..abd541aa 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -12,8 +12,12 @@ username = "soispha"; homeDirectory = "/home/${username}"; + # xdg configHome = "${homeDirectory}/.config"; dataHome = "${homeDirectory}/.local/share"; + stateHome = "${homeDirectory}/.local/state"; + cacheHome = "${homeDirectory}/.cache"; + binHome = "${homeDirectory}/.local/bin"; in { imports = [ # inputs.impermanence.nixosModules.home-manager.impermanence @@ -32,13 +36,12 @@ in { # TODO sessionVariables = { - DISPLAY = ":0"; EDITOR = "nvim"; }; packages = []; }; xdg = { - inherit configHome dataHome; + inherit configHome dataHome stateHome cacheHome binHome; enable = true; }; } -- cgit 1.4.1