Formatting

This commit is contained in:
Arnie 2025-08-21 12:33:25 +02:00
parent 7385941c96
commit b163b2f9ce
No known key found for this signature in database
GPG Key ID: 4BDFA3BCF2999D11
3 changed files with 23 additions and 15 deletions

View File

@ -97,7 +97,9 @@
system = "aarch64-darwin";
specialArgs = {
self = self;
inputs = inputs // { darwin = inputs.nix-darwin; };
inputs = inputs // {
darwin = inputs.nix-darwin;
};
};
modules = [
# Add our overlay to the system configuration

View File

@ -107,7 +107,6 @@
};
};
programs.starship = {
enable = true;
enableZshIntegration = true;

View File

@ -60,11 +60,16 @@ in
SHARABLE_URL="$SSO_URL/#/console?account_id=$ACCOUNT_ID&role_name=$ROLE_NAME&destination=$(${pkgs.urlencode}/bin/urlencode "https://$URL")"
${if isDarwin then ''
${
if isDarwin then
''
echo -n "$SHARABLE_URL" | pbcopy
'' else ''
''
else
''
echo -n "$SHARABLE_URL" | ${pkgs.xclip}/bin/xclip -selection clipboard
''}
''
}
echo "URL copied to clipboard"
''}";
@ -92,14 +97,16 @@ in
git-sync-remote = lib.mkDefault "git remote update origin --prune";
cleanup-kube-config = "${pkgs.writeShellApplication {
cleanup-kube-config = "${
pkgs.writeShellApplication {
name = "app";
text = ./zsh/aliases/cleanup-kube-config.sh;
runtimeInputs = [
pkgs.gnugrep
pkgs.coreutils
];
}}/bin/app";
}
}/bin/app";
klogs = lib.mkDefault "${pkgs.writeShellScript "klogs" ''
ctx="$1"