about summary refs log tree commit diff
path: root/modules/personal.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-14 08:59:26 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-12-14 08:59:26 +0100
commit2c628011e1a4389948491e0ed8903e03bdf45c31 (patch)
treece049e4cc22d7279b0013d8953df1af40ed05e93 /modules/personal.nix
parentfb94b8f1860ba09d892ce7a85e6b90ac103ab410 (diff)
downloaddots-2c628011e1a4389948491e0ed8903e03bdf45c31.tar.gz
dots-2c628011e1a4389948491e0ed8903e03bdf45c31.zip
Add zsh config
Diffstat (limited to 'modules/personal.nix')
-rw-r--r--modules/personal.nix24
1 files changed, 24 insertions, 0 deletions
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";
+  };
+
+}