summaryrefslogtreecommitdiff
path: root/home/common/modules
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-15 23:14:04 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-16 10:46:13 +0530
commit9fe3f6620e91ae9efa8258c010abd0b094d88944 (patch)
treefe5def39df10c5e0297e04690b0e87c28279b5ac /home/common/modules
parent92248682cb855a6a5d898ec6fdd6fcfcf3c0758c (diff)
home/xdg_ninja: init
Diffstat (limited to 'home/common/modules')
-rw-r--r--home/common/modules/xdg_ninja.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/common/modules/xdg_ninja.nix b/home/common/modules/xdg_ninja.nix
new file mode 100644
index 0000000..614454b
--- /dev/null
+++ b/home/common/modules/xdg_ninja.nix
@@ -0,0 +1,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";
+ };
+}