summaryrefslogtreecommitdiff
path: root/home/common/modules/xdg_ninja.nix
blob: 6bd4196a88c6415c24e57f211f9ab73eb468098a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, ... }:
let
  bashHistory = config.xdg.stateHome + "/bash/history";
in
{
  home.activation.init = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
    run --silence mkdir -p ${builtins.dirOf bashHistory}
  '';

  gtk.gtk2.configLocation = config.xdg.configHome + "/gtk-2.0/gtkrc";

  home.sessionVariables = {
    HISTFILE = bashHistory;
    GOPATH = config.xdg.dataHome + "/go";
  };
}