diff options
author | ene <ene@sils.li> | 2023-02-21 19:52:20 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-21 19:54:54 +0100 |
commit | b85e875378b7355e10ee8d2253f3cab327854306 (patch) | |
tree | c328913840b5683dc08fd9a2a6262a691532792e /home-manager/default.nix | |
parent | Fix(river): Add missing dependency for init (diff) | |
download | nixos-config-b85e875378b7355e10ee8d2253f3cab327854306.zip |
Fix(zsh): Set better environment variables
Diffstat (limited to 'home-manager/default.nix')
-rw-r--r-- | home-manager/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
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; }; } |