2021-05-25 12:35:35 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./rust.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
2022-09-26 16:08:56 +02:00
|
|
|
# These go in $PATH so I can run it from rofi and parent to my WM
|
2021-05-25 12:35:35 +02:00
|
|
|
(writeShellScriptBin "dotclip" "xclip -out -selection clipboard | dot -Tpng | feh -")
|
2022-09-26 16:08:56 +02:00
|
|
|
(writeShellScriptBin "dotcontroller" "curl -s localhost:6033/graph | dot -Tpng | feh -")
|
2022-07-28 13:14:47 +02:00
|
|
|
|
2022-11-18 15:01:41 +01:00
|
|
|
rain
|
2022-04-06 16:23:10 +02:00
|
|
|
awscli2
|
2023-05-05 23:26:17 +02:00
|
|
|
ssm-session-manager-plugin
|
2022-04-06 16:23:10 +02:00
|
|
|
amazon-ecr-credential-helper
|
2023-04-11 15:18:51 +02:00
|
|
|
postgresql_14
|
2021-05-25 12:35:35 +02:00
|
|
|
];
|
2021-08-24 15:53:25 +02:00
|
|
|
|
|
|
|
programs.zsh.shellAliases = {
|
|
|
|
"tf" = "terraform";
|
|
|
|
};
|
2022-05-31 21:34:33 +02:00
|
|
|
|
|
|
|
home.file.".docker/config.json".text = builtins.toJSON {
|
|
|
|
credHelpers = {
|
|
|
|
"305232526136.dkr.ecr.us-east-2.amazonaws.com" = "ecr-login";
|
|
|
|
"public.ecr.aws" = "ecr-login";
|
|
|
|
};
|
|
|
|
};
|
2022-06-14 16:15:32 +02:00
|
|
|
|
|
|
|
programs.zsh.functions."purge_deployment" = ''
|
|
|
|
for key in $(http :8500/v1/kv/$1 keys==true | jq -r .'[]'); do http DELETE ":8500/v1/kv/$key"; done
|
|
|
|
'';
|
2021-05-25 12:35:35 +02:00
|
|
|
}
|