aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/onepassword.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/onepassword.nix')
-rw-r--r--home/profiles/onepassword.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/home/profiles/onepassword.nix b/home/profiles/onepassword.nix
new file mode 100644
index 0000000..232092e
--- /dev/null
+++ b/home/profiles/onepassword.nix
@@ -0,0 +1,14 @@
+{ config, ... }:
+{
+ programs.onepassword = {
+ enable = true;
+ sshKeys = [
+ { account = "my.1password.com"; } # All keys from personal account
+ ];
+ };
+
+ home.sessionPath = [
+ config.home.sessionVariables.GOBIN
+ "${config.home.homeDirectory}/.local/bin"
+ ];
+}