about summary refs log tree commit diff
path: root/machines/base.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/base.nix')
-rwxr-xr-xmachines/base.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/machines/base.nix b/machines/base.nix
index 5976448..61253ae 100755
--- a/machines/base.nix
+++ b/machines/base.nix
@@ -16,6 +16,12 @@
 
   console.font = "${pkgs.terminus_font}/share/consolefonts/ter-v22n";
 
+  ## === XDG ===
+  environment.variables = {
+    XDG_CONFIG_HOME = "$HOME/.config";
+    XDG_DATA_HOME = "$HOME/.local/share";
+  };
+
   ## === Vim configuration ===
   programs.vim.defaultEditor = true;
   environment.etc."vim/vimrc".text = ''