Add config for forgejo machine, justfile for quality of life.

This commit is contained in:
DS 2025-02-23 18:57:51 -08:00
parent 98c77311fd
commit 9f66f0b37b
7 changed files with 403 additions and 31 deletions

8
justfile Normal file
View file

@ -0,0 +1,8 @@
default:
@just --list --justfile {{justfile()}}
build_nixos_config host_type="code":
nix build .#nixosConfigurations.{{host_type}}.config.system.build.toplevel
nixify_host hostname host_type="code":
nix run github:nix-community/nixos-anywhere -- --flake .#{{host_type}} --target-host root@{{hostname}}