Formatting

This commit is contained in:
arnie
2025-08-21 12:33:25 +02:00
parent 7385941c96
commit b163b2f9ce
3 changed files with 23 additions and 15 deletions
+3 -1
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
-1
View File
@@ -107,7 +107,6 @@
};
};
programs.starship = {
enable = true;
enableZshIntegration = true;
+20 -13
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 ''
echo -n "$SHARABLE_URL" | pbcopy
'' else ''
echo -n "$SHARABLE_URL" | ${pkgs.xclip}/bin/xclip -selection clipboard
''}
${
if isDarwin then
''
echo -n "$SHARABLE_URL" | pbcopy
''
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 {
name = "app";
text = ./zsh/aliases/cleanup-kube-config.sh;
runtimeInputs = [
pkgs.gnugrep
pkgs.coreutils
];
}}/bin/app";
cleanup-kube-config = "${
pkgs.writeShellApplication {
name = "app";
text = ./zsh/aliases/cleanup-kube-config.sh;
runtimeInputs = [
pkgs.gnugrep
pkgs.coreutils
];
}
}/bin/app";
klogs = lib.mkDefault "${pkgs.writeShellScript "klogs" ''
ctx="$1"