Compare commits
No commits in common. "42badaa5bed2fb1e52fc6c9817e7a5678258a177" and "3363f0b90d5aa1b84158d622a0e1061ee6c7ec72" have entirely different histories.
42badaa5be
...
3363f0b90d
@ -47,9 +47,7 @@ in
|
|||||||
# List packages installed in system profile. To search by name, run:
|
# List packages installed in system profile. To search by name, run:
|
||||||
# $ nix-env -qaP | grep wget
|
# $ nix-env -qaP | grep wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
curl
|
|
||||||
git
|
git
|
||||||
coreutils
|
|
||||||
vim
|
vim
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
];
|
];
|
||||||
|
|||||||
@ -10,15 +10,19 @@
|
|||||||
"keepassxc"
|
"keepassxc"
|
||||||
];
|
];
|
||||||
|
|
||||||
system.defaults.dock.persistent-apps = [
|
system.defaults = {
|
||||||
"/Applications/Cursor.app"
|
dock = {
|
||||||
"/Applications/Firefox.app"
|
persistent-apps = [
|
||||||
"/Applications/Ghostty.app"
|
"/Applications/Cursor.app"
|
||||||
"/Applications/Microsoft Outlook.app"
|
"/Applications/Firefox.app"
|
||||||
"/Applications/Slack.app"
|
"/Applications/Ghostty.app"
|
||||||
"/Applications/Spotify.app"
|
"/Applications/Microsoft Outlook.app"
|
||||||
"/Applications/Thunderbird.app"
|
"/Applications/Slack.app"
|
||||||
"/Applications/zoom.us.app"
|
"/Applications/Spotify.app"
|
||||||
"/System/Applications/Notes.app"
|
"/Applications/Thunderbird.app"
|
||||||
];
|
"/Applications/zoom.us.app"
|
||||||
|
"/System/Applications/Notes.app"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(import ./veracode/aws-cli.nix {
|
(import ./veracode/aws-cli.nix {
|
||||||
inherit homedir lib pkgs;
|
inherit homedir lib;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
homedir,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
homedir,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
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
|
|
||||||
''}'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
# Allow usage of aliases when using sudo
|
# Allow usage of aliases when using sudo
|
||||||
|
alias ls='ls --color'
|
||||||
alias less='less -R'
|
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
|
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"
|
r: %{time_starttransfer}s\n ----------\n time_total: %{time_total}s\n\" -o /dev/null"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user