about summary refs log tree commit diff
path: root/machines/x220-gnome/pass.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/x220-gnome/pass.nix')
-rw-r--r--machines/x220-gnome/pass.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/machines/x220-gnome/pass.nix b/machines/x220-gnome/pass.nix
new file mode 100644
index 0000000..c781746
--- /dev/null
+++ b/machines/x220-gnome/pass.nix
@@ -0,0 +1,18 @@
+{ pkgs, ... }:
+{
+	environment.systemPackages = with pkgs; [
+		pkgs.pass-wayland
+	];
+	
+	programs.browserpass.enable = true;
+
+	programs.gnupg.agent = {
+		enable = true;
+		pinentryPackage = pkgs.pinentry-gnome3;
+		enableSSHSupport = true;
+	};
+
+	environment.variables = {
+		PASSWORD_STORE_DIR = "$HOME/.local/share/password-store";
+	};
+}