Compare commits
3 Commits
3363f0b90d
...
42badaa5be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42badaa5be | ||
|
|
b6516e48ac | ||
|
|
56a2ca7c5a |
@ -47,7 +47,9 @@ 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
|
||||
];
|
||||
|
||||
@ -10,9 +10,7 @@
|
||||
"keepassxc"
|
||||
];
|
||||
|
||||
system.defaults = {
|
||||
dock = {
|
||||
persistent-apps = [
|
||||
system.defaults.dock.persistent-apps = [
|
||||
"/Applications/Cursor.app"
|
||||
"/Applications/Firefox.app"
|
||||
"/Applications/Ghostty.app"
|
||||
@ -23,6 +21,4 @@
|
||||
"/Applications/zoom.us.app"
|
||||
"/System/Applications/Notes.app"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ in
|
||||
{
|
||||
imports = [
|
||||
(import ./veracode/aws-cli.nix {
|
||||
inherit homedir lib;
|
||||
inherit homedir lib pkgs;
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
homedir,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
@ -262,4 +263,27 @@ 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
|
||||
''}'';
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
# 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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user