feat: Configure workshop VM with bash and Abra utilities

This commit is contained in:
2025-08-16 16:10:38 +02:00
parent 94b1ec68a5
commit bf18468eee

View File

@@ -25,7 +25,7 @@ isoConfig // {
services.getty.autologinUser = "workshop";
users.users.workshop = {
isNormalUser = true;
shell = pkgs.zsh;
shell = pkgs.bash; # Simple bash instead of zsh
extraGroups = [ "networkmanager" "wheel" "docker" ];
password = "";
};
@@ -84,9 +84,10 @@ isoConfig // {
};
};
programs.zsh = {
enable = true;
# Simple bash configuration with custom functions
programs.bash = {
interactiveShellInit = ''
# Workshop welcome and command definitions
echo "CODE CRISPIES Workshop Environment"
echo "Mode: Local Development + Cloud Access"
echo ""
@@ -226,8 +227,6 @@ isoConfig // {
echo " 2. Try local: recipes deploy wordpress browser"
echo " 3. Try cloud: connect hopper same abra commands"
}
export -f setup-traefik deploy connect recipes browser desktop help
'';
};
@@ -235,7 +234,6 @@ isoConfig // {
enable = true;
desktopManager.xfce.enable = true;
displayManager.lightdm.enable = true;
# Don't set autoLogin here - it conflicts with the VM config
};
# Don't auto-start GUI, let user choose