From a9dc4894a29a0386ddc740c0b2a47d7821726cb2 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 12 May 2025 18:00:09 -0700 Subject: small tweaks for how to list packages to install --- nix/users/fcuny/1password.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nix/users/fcuny/1password.nix') diff --git a/nix/users/fcuny/1password.nix b/nix/users/fcuny/1password.nix index 56c0fad..63892c7 100644 --- a/nix/users/fcuny/1password.nix +++ b/nix/users/fcuny/1password.nix @@ -1,10 +1,14 @@ -{ config, ... }: +{ pkgs, config, ... }: let home = config.home.homeDirectory; darwinSockPath = "${home}/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"; sockPath = ".1password/agent.sock"; in { + home.packages = with pkgs; [ + _1password-cli + ]; + home.sessionVariables = { SSH_AUTH_SOCK = "${home}/${sockPath}"; }; -- cgit v1.2.3