fix(i3): set xsession/xprofile paths

This commit is contained in:
winston 2023-02-19 02:33:38 +01:00
parent 4daa63bffa
commit c72649536a
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 2 additions and 4 deletions

View file

@ -141,9 +141,8 @@ in {
xsession = lib.mkIf isLinux {
enable = true;
initExtra = ''
export USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
'';
profilePath = "${config.xdg.configHome}/profile";
scriptPath = "${config.xdg.cacheHome}/X11/xsession";
windowManager.i3 = {
enable = true;
config = {

View file

@ -74,7 +74,6 @@ in {
NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
PATH = "$PATH:${config.xdg.dataHome}/krew/bin:$GOPATH/bin";
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
# XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
XCOMPOSECACHE = "${config.xdg.cacheHome}/X11/xcompose";
}
// (