first commit

This commit is contained in:
EmilCh
2026-09-04 10:04:58 +02:00
commit fc8483bc40
4 changed files with 80 additions and 0 deletions
Executable
+8
View File
@@ -0,0 +1,8 @@
# 1. Build locally
nix --extra-experimental-features nix-command --extra-experimental-features flakes build .#packages.x86_64-linux.default
# 2. Copy the store path over SSH to the target machine
nix copy --to ssh://$1 ./result
# 3. Add to user profile on the target machine
ssh $1 "nix --extra-experimental-features flakes --extra-experimental-features nix-command profile add $(readlink -f ./result)"