Rework Makefile with install/link/update targets and auto-generation

Add gen-update-targets.sh to parse flake.nix and generate grouped
update targets (update-kyle, update-mc). Makefile now has install
(copy) and link (symlink) targets for rebuild-nixos. Also fix mc
flake input URLs to use /mc/ org path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-27 01:49:58 -07:00
parent c394eec89f
commit 74a79cd369
5 changed files with 75 additions and 33 deletions

View File

@@ -32,15 +32,15 @@
cert.url = "github:kisom/cert";
cert.inputs.nixpkgs.follows = "nixpkgs";
mcias.url = "git+https://git@git.wntrmute.dev/kyle/mcias.git";
mcias.url = "git+https://git@git.wntrmute.dev/mc/mcias.git";
mcr.url = "git+https://git@git.wntrmute.dev/kyle/mcr";
mcr.url = "git+https://git@git.wntrmute.dev/mc/mcr";
mcr.inputs.nixpkgs.follows = "nixpkgs";
mc-proxy.url = "git+https://git@git.wntrmute.dev/kyle/mc-proxy";
mc-proxy.url = "git+https://git@git.wntrmute.dev/mc/mc-proxy";
mc-proxy.inputs.nixpkgs.follows = "nixpkgs";
mcdeploy.url = "git+https://git@git.wntrmute.dev/kyle/mcdeploy";
mcdeploy.url = "git+https://git@git.wntrmute.dev/mc/mcdeploy";
mcdeploy.inputs.nixpkgs.follows = "nixpkgs";
mcp.url = "git+https://git@git.wntrmute.dev/mc/mcp";