Skip to content

Commit

Permalink
shared/nix: require sops for darwin builders
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Sep 28, 2024
1 parent d65f022 commit b42621c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/shared/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ in
maxJobs = 16;
speedFactor = 10;
supportedFeatures = supportedFeatures ++ [ "kvm" ];
# TODO: figure out how to use sops secret on darwin
# sshKey = config.sops.secrets.khanelimac_khaneliman_ssh_key.path;
})
]
++ lib.optionals pkgs.stdenv.isLinux (
++ lib.optionals (pkgs.stdenv.isLinux && config.${namespace}.security.sops.enable) (
let
systems = [
"aarch64-darwin"
Expand Down

0 comments on commit b42621c

Please sign in to comment.