diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-09-16 06:50:50 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-09-16 06:50:50 +0100 |
commit | 22112732f12414b8c193a30eed7987fff0869414 (patch) | |
tree | 44b1f1969b1aaf5a59f15e4f60eb48be2abeaf66 /nix-conf/home/zsh.nix | |
parent | d32b136d407f54481993098b90deb6a1ca1b93d4 (diff) | |
download | dotfiles-22112732f12414b8c193a30eed7987fff0869414.tar.gz |
Only use keychain on linux
Diffstat (limited to 'nix-conf/home/zsh.nix')
-rw-r--r-- | nix-conf/home/zsh.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-conf/home/zsh.nix b/nix-conf/home/zsh.nix index 8118eb9..ce5b9d5 100644 --- a/nix-conf/home/zsh.nix +++ b/nix-conf/home/zsh.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { home.packages = with pkgs; [ @@ -18,7 +18,7 @@ nix-direnv.enable = true; }; programs.keychain = { - enable = true; + enable = lib.mkIf pkgs.stdenv.isLinux true; agents = [ "ssh" "gpg"]; keys = [ "id_rsa" "id_ed25519" "C171251002C200F2" ]; # extraFlags = [ "--quiet" "--ignore-missing" ]; |