about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-11 17:41:16 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-11 17:41:16 +0100
commit0b0dde69f51d577cabc8bbc399794e573c080e33 (patch)
treea555df513ecac764fa7115a7e2730966ce31f6e1
parent6fbef63080c4a71b3a35057da6af66a4b194cbac (diff)
downloaddots-0b0dde69f51d577cabc8bbc399794e573c080e33.tar.gz
dots-0b0dde69f51d577cabc8bbc399794e573c080e33.zip
Add browser
-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;
   };
+
 }