Skip to content

Commit

Permalink
🐛 Fix GPG on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuggle committed Jun 2, 2023
1 parent 2f483d0 commit a0b3c95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions darwin-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@
signing.key = "877300954D1493E6";

};

gpg = {
# Required on MacOS for GPG to recognise YubiKey.
# https://github.com/NixOS/nixpkgs/issues/155629
scdaemonSettings = pkgs.lib.mkIf pkgs.stdenv.isDarwin {
disable-ccid = true;
};
};
};

home.file.".ssh/authorized_keys" = {
Expand Down
4 changes: 3 additions & 1 deletion macos/packages-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ environment.systemPackages = with pkgs; [
# Darwin Specific
opensc
libu2f-host

pinentry_mac

### (Installed System Packages) ###

# Applications
Expand All @@ -15,6 +16,7 @@ environment.systemPackages = with pkgs; [
pinentry-curses
#zoom-us
iterm2
# vivaldi

# Development, Git or Libraries
ffmpeg
Expand Down

0 comments on commit a0b3c95

Please sign in to comment.