summaryrefslogtreecommitdiff
path: root/home/common/modules/xdg_ninja.nix
blob: 614454be4838ed54a47b18db26ada16f3aea66d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ 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";
  };
}