Compare commits

..

No commits in common. "42badaa5bed2fb1e52fc6c9817e7a5678258a177" and "3363f0b90d5aa1b84158d622a0e1061ee6c7ec72" have entirely different histories.

5 changed files with 18 additions and 39 deletions

View File

@ -47,9 +47,7 @@ in
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
curl
git
coreutils
vim
wireguard-tools
];

View File

@ -10,15 +10,19 @@
"keepassxc"
];
system.defaults.dock.persistent-apps = [
"/Applications/Cursor.app"
"/Applications/Firefox.app"
"/Applications/Ghostty.app"
"/Applications/Microsoft Outlook.app"
"/Applications/Slack.app"
"/Applications/Spotify.app"
"/Applications/Thunderbird.app"
"/Applications/zoom.us.app"
"/System/Applications/Notes.app"
];
system.defaults = {
dock = {
persistent-apps = [
"/Applications/Cursor.app"
"/Applications/Firefox.app"
"/Applications/Ghostty.app"
"/Applications/Microsoft Outlook.app"
"/Applications/Slack.app"
"/Applications/Spotify.app"
"/Applications/Thunderbird.app"
"/Applications/zoom.us.app"
"/System/Applications/Notes.app"
];
};
};
}

View File

@ -13,7 +13,7 @@ in
{
imports = [
(import ./veracode/aws-cli.nix {
inherit homedir lib pkgs;
inherit homedir lib;
})
];

View File

@ -1,7 +1,6 @@
{
homedir,
lib,
pkgs,
homedir,
...
}:
let
@ -263,27 +262,4 @@ in
)}
'';
};
programs.zsh.shellAliases = {
veracode-find = ''${pkgs.writeShellScript "veracode-find" ''
for profile in $(aws configure list-profiles | grep -E '^(us|eu)-'); do
echo "=== $profile ==="
aws --profile $profile "$@";
done
''}'';
veracode-find-eu = ''${pkgs.writeShellScript "veracode-find" ''
for profile in $(aws configure list-profiles | grep -E '^(eu)-'); do
echo "=== $profile ==="
aws --profile $profile "$@";
done
''}'';
veracode-find-us = ''${pkgs.writeShellScript "veracode-find" ''
for profile in $(aws configure list-profiles | grep -E '^(us)-'); do
echo "=== $profile ==="
aws --profile $profile "$@";
done
''}'';
};
}

View File

@ -1,4 +1,5 @@
# Allow usage of aliases when using sudo
alias ls='ls --color'
alias less='less -R'
alias curlTiming="curl -w \" time_namelookup: %{time_namelookup}s\n time_connect: %{time_connect}s\n time_appconnect: %{time_appconnect}s\n time_pretransfer: %{time_pretransfer}s\n time_redirect: %{time_redirect}s\n time_starttransfe
r: %{time_starttransfer}s\n ----------\n time_total: %{time_total}s\n\" -o /dev/null"