forked from epesooj/webring
Add config for forgejo machine, justfile for quality of life.
This commit is contained in:
parent
98c77311fd
commit
9f66f0b37b
7 changed files with 403 additions and 31 deletions
8
justfile
Normal file
8
justfile
Normal 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}}
|
Loading…
Add table
Add a link
Reference in a new issue