From 82f223c77e939ab13fe02c84a43f0149e839e6da Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 7 Mar 2021 17:01:19 +0000 Subject: [PATCH] home: xdg: force XDG compliance for some packages --- home/xdg.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/home/xdg.nix b/home/xdg.nix index 4e2b9ab..fb6d76b 100644 --- a/home/xdg.nix +++ b/home/xdg.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, ... }: { xdg = { enable = true; @@ -22,4 +22,11 @@ videos = "\$HOME/videos"; }; }; + + # I want a tidier home + home.sessionVariables = with config.xdg; { + HISTFILE = "${dataHome}/bash/history"; + LESSHISTFILE = "${dataHome}/less/history"; + LESSKEY = "${configHome}/less/lesskey"; + }; }