From 3a228b67ea6ce251d00b63311be3a1acab7f2ecd Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sun, 7 Sep 2025 16:39:41 -0400 Subject: [PATCH] Unused --- modules/home/all/_1password.nix | 44 --------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 modules/home/all/_1password.nix diff --git a/modules/home/all/_1password.nix b/modules/home/all/_1password.nix deleted file mode 100644 index b25c86c..0000000 --- a/modules/home/all/_1password.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ pkgs, lib, ... }: -{ - home.packages = with pkgs; [ - gh - ] ++ lib.optionals pkgs.stdenv.isDarwin [ - _1password-cli - ]; - - /* - programs.zsh.envExtra = lib.mkIf pkgs.stdenv.isDarwin '' - # For 1Password CLI. This requires `pkgs.gh` to be installed. - # source $HOME/.config/op/plugins.sh - ''; - - programs.ssh = { - enable = true; - matchBlocks = { - "*".extraOptions = { - identityAgent = - if pkgs.stdenv.isDarwin - then ''"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"'' - else ''"~/.1password/agent.sock"''; - }; - }; - }; - - # https://developer.1password.com/docs/ssh/git-commit-signing/ - # - # For this to work on GitHub, you must have added the SSH pub key as a signing key, see - # https://1password.community/discussion/comment/667515/#Comment_667515 - programs.git.includes = [{ - condition = "gitdir:~/code/**"; # Personal repos only - contents = { - user.signingKey = flake.config.me.sshKey; - gpg.format = "ssh"; - gpg.ssh.program = - if pkgs.stdenv.isDarwin - then "/Applications/1Password.app/Contents/MacOS/op-ssh-sign" - else "/run/current-system/sw/bin/op-ssh-sign"; - commit.gpgsign = true; - }; - }]; - */ -}