@@ -140,39 +140,40 @@ Build without switching (test configuration):
140140sudo nixos-rebuild build --flake .# laptop
141141```
142142
143- ### Legacy operational commands (migration pending )
143+ ### Operational commands (mise-first )
144144
145- Host install/deploy and secret operations are still ` just ` -based while task migration is in progress .
145+ Use ` mise ` tasks for deploy and secrets workflows .
146146
147147### Remote Deployment (from central laptop)
148148
149149Deploy to a remote machine:
150150``` bash
151- just deploy < hostname>
151+ HOST= < hostname> mise run deploy
152152
153153# Examples
154- just deploy spark
155- just deploy vps-alpha
154+ HOST=spark mise run deploy
155+ HOST= vps-alpha mise run deploy
156156```
157157
158158Pull latest changes and deploy:
159159``` bash
160- just pull-deploy < hostname >
160+ HOST= < hostname > mise run pull-deploy
161161```
162162
163163Sync changes made on remote machine back to central repo:
164164``` bash
165- just sync-remote < hostname >
165+ HOST= < hostname > mise run sync-remote
166166# Then review, commit, and push
167167```
168168
169169### Update flake inputs (update nixpkgs, home-manager, etc.)
170170``` bash
171- just update
171+ mise run update
172172```
173173
174- ### List all available legacy operational commands
174+ ### Legacy compatibility commands
175175``` bash
176+ # Still available during migration window:
176177just --list
177178```
178179
@@ -213,18 +214,18 @@ This repository uses **sops-nix** with GPG and age for secrets encryption.
213214
214215### Edit encrypted secrets:
215216``` bash
216- just secrets # Edit common secrets
217- just secrets secrets /vps/knock-sequences.yaml # Edit specific file
217+ mise run secrets # Edit common secrets
218+ FILE= secrets/vps/knock-sequences.yaml mise run secrets
218219```
219220
220221### View decrypted secrets:
221222``` bash
222- just secrets-view secrets /common/secrets.yaml
223+ FILE= secrets/common/secrets.yaml mise run secrets-view
223224```
224225
225226### Update encryption keys (after adding new host):
226227``` bash
227- just secrets-update
228+ mise run secrets-update
228229```
229230
230231** See ` docs/SOPS_GPG_SETUP.md ` for complete setup guide.**
@@ -311,13 +312,21 @@ mise tasks ls
311312mise run ci-validate
312313mise run ci-security
313314
314- # Legacy ops path (still just-based while migration is in progress)
315+ # Deploy + sync operations
316+ HOST=< hostname> mise run deploy
317+ HOST=< hostname> mise run pull-deploy
318+ HOST=< hostname> mise run sync-remote
319+ HOST=< hostname> BRANCH=main mise run remote-push
320+
321+ # Secrets operations
322+ mise run secrets
323+ FILE=secrets/common/secrets.yaml mise run secrets-view
324+ mise run secrets-update
325+
326+ # Flake input update
327+ mise run update
328+
329+ # Legacy path for host bootstrap/install (until migrated)
315330just --list
316331just install < host> < category> < ip>
317- just deploy < hostname>
318- just deploy-all
319- just update
320- just secrets
321- just knock < vps-hostname>
322- just sync-remote < hostname>
323332```
0 commit comments