feat: add self-hosted cache server
This commit is contained in:
parent
05bc6a185f
commit
69705431bf
16 changed files with 313 additions and 95 deletions
10
home/scripts/remoteRebuild.nix
Normal file
10
home/scripts/remoteRebuild.nix
Normal 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 $@
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue