about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/larbs.nix14
-rw-r--r--modules/personal.nix24
2 files changed, 37 insertions, 1 deletions
diff --git a/modules/larbs.nix b/modules/larbs.nix
index d6b58e5..8e76006 100755
--- a/modules/larbs.nix
+++ b/modules/larbs.nix
@@ -1,13 +1,16 @@
 { pkgs, ... }:
 let
   pnvim = import ../pkgs/nvim.nix pkgs;
+  pndwm = import ../pkgs/dwm pkgs;
+  # pndwmblocks = import ../pkgs/dwmblocks pkgs;
+  todos = import ../pkgs/dwmblocks/todos.nix pkgs;
   larbs-packages = with pkgs.nur.repos.pn; [
     pnvim
     larbs-mail
     larbs-news
     larbs-music
     dmenu
-    dwm
+    pndwm
     dwmblocks
     larbs-scripts
     st
@@ -15,12 +18,21 @@ let
 in
 {
   imports = [
+    ./personal.nix
     ./audio.nix
     ./slock.nix
   ];
 
   environment.systemPackages = with pkgs; [
+    ## Scripts utils
+    #TODO: move to larbs-scripts
+    maim
+    xclip
+    xdotool
+
+    todos
     brave
+    tdesktop
   ] ++ larbs-packages;
 
   environment.variables = {
diff --git a/modules/personal.nix b/modules/personal.nix
new file mode 100644
index 0000000..97b3f03
--- /dev/null
+++ b/modules/personal.nix
@@ -0,0 +1,24 @@
+## Personal utils for daily use machines like laptop, cell phone
+## This should not be used on a server
+
+{ pkgs, ... }:
+{
+  programs.gnupg = {
+    agent = {
+      enable = true;
+      enableSSHSupport = true;
+      pinentryFlavor = "gnome3";
+    };
+  };
+
+  environment.systemPackages = with pkgs; [
+    pass ssh-ident
+  ];
+
+  programs.browserpass.enable = true;
+
+  environment.shellAliases = {
+    ssh = "ssh-ident";
+  };
+
+}