From 3b5f69c8f233395e4cfb43e5424723f8e42c42b3 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sat, 22 Jul 2023 00:17:57 +0200 Subject: [PATCH] xdg-ninja helped out I'll have to do this later --- hosts/niks/configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/niks/configuration.nix b/hosts/niks/configuration.nix index 34fb790..6541436 100644 --- a/hosts/niks/configuration.nix +++ b/hosts/niks/configuration.nix @@ -110,8 +110,6 @@ in LIBSEAT_BACKEND = "logind"; QT_QPA_PLATFORMTHEME = "qt5ct"; - GOPATH = "\$HOME/.local/share/go"; - XDG_CURRENT_DESKTOP = "Hyprland"; XDG_SESSION_TYPE = "wayland"; XDG_SESSION_DESKTOP = "Hyprland"; @@ -132,6 +130,15 @@ in XCURSOR_SIZE = "24"; SYSTEMD_TIMEDATED_NTP_SERVICES = "chronyd.service:systemd-timesyncd.service"; + + XDG_DATA_HOME = "\$HOME/.local/share"; + XDG_CONFIG_HOME = "\$HOME/.config"; + XDG_STATE_HOME = "\$HOME/.local/state"; + XDG_CACHE_HOME = "\$HOME/.cache"; + + HISTFILE = "\${XDG_STATE_HOME}/bash/history"; + CARGO_HOME = "\${XDG_DATA_HOME}/cargo"; + GTK2_RC_FILES = "\${XDG_CONFIG_HOME}/gtk-2.0/gtkrc"; }; etc = let json = pkgs.formats.json {};