feat: add self-hosted cache server

This commit is contained in:
danny 2025-09-25 19:58:19 +08:00
parent 05bc6a185f
commit 69705431bf
16 changed files with 313 additions and 95 deletions

View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "rRebuild" ''
TARGET=$1
BUILD=$2
shift
shift
nixos-rebuild switch --target-host "$TARGET" --build-host "$BUILD" --sudo --ask-sudo-password $@
''