nix-infra/justfile

21 lines
493 B
Makefile
Raw Normal View History

2024-04-01 18:33:14 +00:00
#!/usr/bin/env just --justfile
build:
colmena build
apply:
colmena apply
build-vm host="bengal":
nixos-rebuild build-vm --flake .#{{host}}
2024-06-01 18:11:52 +00:00
create-new-hcloud-host name="" type="cx11" location="nbg1":
hcloud server create --name '{{name}}' --type 'cx11' --image debian-11 --user-data-from-file files/cloud-init.yml --location nbg1 --ssh-key openpgp:0x6068FEBB --network cherrykitten-internal
delete-hcloud-host name="":
hcloud server delete '{{name}}'
2024-04-01 18:33:14 +00:00
git:
nix fmt
git add .