Add ruil and make liminal full-flake
This commit is contained in:
parent
97dceb1d65
commit
ff5367794d
16 changed files with 484 additions and 747 deletions
23
justfile
Normal file
23
justfile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Deploy config to a host (builds remotely, activates remotely)
|
||||
deploy host target:
|
||||
nixos-rebuild switch \
|
||||
--flake .#{{host}} \
|
||||
--target-host {{target}} \
|
||||
--build-host {{target}}
|
||||
|
||||
# Deploy config to a host
|
||||
deploy-sudo host:
|
||||
sudo nixos-rebuild switch \
|
||||
--flake .#{{host}}
|
||||
|
||||
# Shortcut: deploy ruil (remote)
|
||||
deploy-ruil:
|
||||
just deploy ruil root@ruil.hunnur.com
|
||||
|
||||
# Shortcut: deploy liminal (local)
|
||||
deploy-liminal:
|
||||
just deploy-sudo liminal
|
||||
|
||||
# Update flake lock file
|
||||
update:
|
||||
nix flake update
|
||||
Loading…
Add table
Add a link
Reference in a new issue