From ff85dcdcfe99c7043d039170570661a109098f5f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 29 Jul 2025 20:21:12 -0700 Subject: add a home-manager module for 1password The module takes care of configuring the 1password SSH agent. --- users/profiles/mac.nix | 2 +- users/profiles/work.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'users/profiles') diff --git a/users/profiles/mac.nix b/users/profiles/mac.nix index f001f99..16e3b59 100644 --- a/users/profiles/mac.nix +++ b/users/profiles/mac.nix @@ -1,7 +1,6 @@ { self, pkgs, ... }: { imports = [ - "${self}/users/programs/1password.nix" "${self}/users/programs/alacritty" "${self}/users/programs/bat.nix" "${self}/users/programs/direnv.nix" @@ -12,6 +11,7 @@ "${self}/users/programs/gh.nix" "${self}/users/programs/git.nix" "${self}/users/programs/go.nix" + "${self}/users/programs/onepassword.nix" "${self}/users/programs/ssh.nix" "${self}/users/programs/starship.nix" "${self}/users/programs/tmux.nix" diff --git a/users/profiles/work.nix b/users/profiles/work.nix index feb5a46..538b547 100644 --- a/users/profiles/work.nix +++ b/users/profiles/work.nix @@ -2,6 +2,7 @@ lib, self, pkgs, + config, ... }: let @@ -42,6 +43,16 @@ in vault ]; + programs.onepassword = lib.mkMerge [ + config.programs.onepassword.sshKeys + [ + { + account = "roblox.1password.com"; + vault = "Private"; + } + ] + ]; + programs.fish = { shellAbbrs = let -- cgit v1.2.3