Enhance Linux and macOS development station configurations:

- Add user management and Oh My Zsh settings
- Update service scripts to use Zsh
- Include new packages and environment variables
- Modify Terraform configuration for upstream services
This commit is contained in:
2026-07-10 17:15:24 -04:00
parent 59b2c10c43
commit 5818b05d96
12 changed files with 297 additions and 7 deletions
@@ -2,6 +2,23 @@ hostname: dev-02.lab.alexpires.me
ansible_user: "{{ lookup('env', 'ANSIBLE_USER') }}"
ansible_host: "10.19.4.210"
# Users
login_users:
- username: "{{ ansible_user }}"
comment: "Managed by Ansible"
sudoer: true
sudoer_root_only: false
sudoer_no_password: true
pubkey: "{{ lookup('file', 'keys/ansible_user.pub') }}"
password_disabled: true
- username: devstation
comment: "Managed by Ansible"
pubkey: "{{ lookup('file', 'keys/localnetwork.pub') }}"
shell: "/bin/zsh"
groups:
- "users"
password_disabled: true
linux_dev_station_service_user_enabled: true
linux_dev_station_service_user: "devstation"
linux_dev_station_service_home: "/home/devstation"
@@ -165,3 +182,27 @@ fw_allowed_ports:
- { rule: "allow", port: "3000", proto: "tcp", from: "10.19.4.0/24" } # code-server (local network only)
- { rule: "allow", port: "4096", proto: "tcp", from: "10.19.4.0/24" } # opencode (local network only)
- { rule: "allow", port: "9090", proto: "tcp", from: "10.19.4.0/24" } # opencode (local network only)
linux_dev_station_oh_my_zsh_theme: "agnoster"
linux_dev_station_oh_my_zsh_plugins:
- git
- fzf
- common-aliases
- sudo
- tmux
- extract
- colored-man-pages
- history-substring-search
- kubectl
- ansible
- aws
- golang
- dnf
- bgnotify
linux_dev_station_zshrc_extra_env:
EDITOR: "nano"
MANPAGER: "less -R"
LESS: "-R"
BW_ORGANIZATION_ID: "{{ lookup('env', 'BW_ORGANIZATION_ID', default='') }}"
BW_ACCESS_TOKEN: "{{ lookup('env', 'BW_ACCESS_TOKEN', default='') }}"
ANSIBLE_USER: "{{ lookup('env', 'ANSIBLE_USER', default='') }}"
@@ -209,7 +209,7 @@ llama_server_argv_extra:
"-b",
2048,
"-ub",
512,
1024,
"-fa",
"on",
"-ctk",
@@ -236,6 +236,8 @@ llama_server_argv_extra:
"--spec-draft-n-max",
2,
"--swa-full",
"--cache-reuse",
256
]
auto_suspend_enabled: true