feat: update formatting.

This commit is contained in:
CronyAkatsuki 2026-02-01 12:47:22 +01:00
parent 07c83165fe
commit ad8aaf7a84

View file

@ -1,50 +1,50 @@
# Ssh into the server # Ssh into the server
[group('ssh')] [group('ssh')]
shell server: shell server:
ssh crony@{{server}} ssh crony@{{ server }}
# Forward a port from server to localhost # Forward a port from server to localhost
[group('ssh')] [group('ssh')]
forward port server: forward port server:
ssh -N -L {{port}}:127.0.0.1:{{port}} root@{{server}} ssh -N -L {{ port }}:127.0.0.1:{{ port }} root@{{ server }}
# Deploy server nixos installation # Deploy server nixos installation
[group('deploy')] [group('deploy')]
deploy server: deploy server:
deploy ".#{{server}}" --magic-rollback=false -s deploy ".#{{ server }}" --magic-rollback=false -s
# Forcefully deploy without rollback # Forcefully deploy without rollback
[group('deploy')] [group('deploy')]
deploy-force server: deploy-force server:
deploy ".#{{server}}" --magic-rollback=false --auto-rollback=false -s deploy ".#{{ server }}" --magic-rollback=false --auto-rollback=false -s
# Deploy all servers available # Deploy all servers available
[group('deploy')] [group('deploy')]
deploy-all: deploy-all:
deploy "." --magic-rollback=false -s deploy "." --magic-rollback=false -s
# Reboot the server # Reboot the server
[group('ssh')] [group('ssh')]
reboot server: reboot server:
ssh -t root@{{server}} "reboot" ssh -t root@{{ server }} "reboot"
# Update current nixos install # Update current nixos install
[group('nixos')] [group('nixos')]
update: update:
nh os test -u -a && nh os switch nh os test -u -a && nh os switch
# Test current config # Test current config
[group('nixos')] [group('nixos')]
test: test:
nh os test -a nh os test -a
# Switch to current config # Switch to current config
[group('nixos')] [group('nixos')]
switch: switch:
nh os switch -a nh os switch -a
# Commit flake.lock update or modifications # Commit flake.lock update or modifications
[group('git')] [group('git')]
commit-lock: commit-lock:
git add flake.lock git add flake.lock
git commit -m "feat: update flake.lock" git commit -m "feat: update flake.lock"