refactor, hunt
All checks were successful
Nix Build / nix build (push) Successful in 1m1s

This commit is contained in:
atagen 2026-03-23 22:38:28 +11:00
parent 0fc93545ce
commit 703ac28f52
16 changed files with 548 additions and 215 deletions

9
lib/commands/cook.ml Normal file
View file

@ -0,0 +1,9 @@
let run () =
print_string Common.header;
Common.meat_print "PREPARING DELICIOUS MEATS..";
let build_target =
Unix.getenv "MEATS" ^ "#nixosConfigurations." ^ Unix.gethostname ()
^ ".config.system.build.toplevel"
in
Common.do_cmd @@ "nix build --no-link" ^ build_target |> ignore;
print_string Common.footer