Skip to content

Commit 06c83f0

Browse files
committed
style(darwin): apply nixfmt formatting
1 parent 97cae35 commit 06c83f0

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

common/git/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ in {
5555
} // lib.optionalAttrs isLinux {
5656
gpg.ssh.program = "/opt/1Password/op-ssh-sign";
5757
} // lib.optionalAttrs isDarwin {
58-
gpg.ssh.program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
58+
gpg.ssh.program =
59+
"/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
5960
};
6061

6162
signing = {

systems/aarch64-darwin/corporate.nix

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,15 @@
1414
# Force-disable all nix.* options that common/ and systems/ set unconditionally.
1515
nix.enable = false;
1616
nix.optimise.automatic = lib.mkForce false;
17-
home-manager.sharedModules = [
18-
{
19-
home.sessionVariables = {
20-
NODE_EXTRA_CA_CERTS = "$HOME/.zscaler.pem";
21-
};
17+
home-manager.sharedModules = [{
18+
home.sessionVariables = { NODE_EXTRA_CA_CERTS = "$HOME/.zscaler.pem"; };
2219

23-
programs.zsh.shellAliases = {
24-
refresh-zscaler = ''
25-
curl -s http://cloud.msg.team/zertifikat/zscaler.crt -o /tmp/zscaler.crt \
26-
&& openssl x509 -inform DER -in /tmp/zscaler.crt -out ~/.zscaler.pem 2>/dev/null \
27-
|| cp /tmp/zscaler.crt ~/.zscaler.pem \
28-
&& echo "Zscaler cert refreshed ✓"'';
29-
};
30-
}
31-
];
20+
programs.zsh.shellAliases = {
21+
refresh-zscaler = ''
22+
curl -s http://cloud.msg.team/zertifikat/zscaler.crt -o /tmp/zscaler.crt \
23+
&& openssl x509 -inform DER -in /tmp/zscaler.crt -out ~/.zscaler.pem 2>/dev/null \
24+
|| cp /tmp/zscaler.crt ~/.zscaler.pem \
25+
&& echo "Zscaler cert refreshed ✓"'';
26+
};
27+
}];
3228
}

0 commit comments

Comments
 (0)