about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xmachines/base.nix6
-rwxr-xr-xmodules/larbs.nix25
2 files changed, 23 insertions, 8 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 = ''
diff --git a/modules/larbs.nix b/modules/larbs.nix
index 5dcd309..d6b58e5 100755
--- a/modules/larbs.nix
+++ b/modules/larbs.nix
@@ -1,14 +1,7 @@
 { pkgs, ... }:
 let
   pnvim = import ../pkgs/nvim.nix pkgs;
-in
-{
-  imports = [
-    ./audio.nix
-    ./slock.nix
-  ];
-
-  environment.systemPackages = with pkgs.nur.repos.pn; [
+  larbs-packages = with pkgs.nur.repos.pn; [
     pnvim
     larbs-mail
     larbs-news
@@ -19,10 +12,26 @@ in
     larbs-scripts
     st
   ];
+in
+{
+  imports = [
+    ./audio.nix
+    ./slock.nix
+  ];
+
+  environment.systemPackages = with pkgs; [
+    brave
+  ] ++ larbs-packages;
+
+  environment.variables = {
+    TERM = "st";
+    BROWSER = "brave";
+  };
 
   services.xserver = {
     enable = true;
     displayManager.startx.enable = true;
     libinput.enable = true;
   };
+
 }