added: scripts from @zethra's configs, and tidied flake structure lili bit
This commit is contained in:
parent
b0a649e560
commit
9a3fbee8bb
25 changed files with 230 additions and 0 deletions
11
home/scripts/zethra/send-to-cache
Executable file
11
home/scripts/zethra/send-to-cache
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
REMOTE='root@noraa.gay'
|
||||
else
|
||||
REMOTE="$1"
|
||||
fi
|
||||
|
||||
nix build .
|
||||
nix store sign -k /etc/nixos/secrets/cache-priv-key.pem ./result/
|
||||
nix copy --to "ssh-ng://$REMOTE" ./result/
|
||||
Loading…
Add table
Add a link
Reference in a new issue