Add session manager plugin

This commit is contained in:
Arnie 2025-12-29 12:21:57 +01:00
parent 0a7d543ff4
commit c34274413a
No known key found for this signature in database
GPG Key ID: 4BDFA3BCF2999D11

View File

@ -32,11 +32,12 @@ in
home.stateVersion = "24.11"; home.stateVersion = "24.11";
home.packages = with pkgs; [ home.packages = with pkgs; [
hammerspoon
pstree
watch
colima colima
docker docker
hammerspoon
pstree
ssm-session-manager-plugin
watch
wireshark-qt wireshark-qt
]; ];
@ -203,6 +204,9 @@ in
sudo wg-quick up /etc/wireguard/home-remote.conf sudo wg-quick up /etc/wireguard/home-remote.conf
fi fi
''}"; ''}";
ssm = "${pkgs.writeShellScript "ssm" ''
aws --profile $1 --region ''${3:-us-east-1} ssm start-session --target $2
''}";
}; };
initContent = '' initContent = ''