update install script

This commit is contained in:
iFargle 2023-12-31 22:43:13 +09:00
parent d2eb383d17
commit a6dc9a51c7
2 changed files with 4 additions and 4 deletions

View file

@ -6,6 +6,7 @@ keys:
- &host_osaka-linode-01 5f548d87ab2b8a4d48d80da3f2ff8352998da7fa
- &host_piaware-rpi4 4216b645667670a6130bb95a72a56f8269cd0818
- &host_backups-rpi4 8b37122bb46dc98c208002d65e94778ecd94bd4e
- &host_nixos-desktop 7bb3f6b0d8e744bead623602b3faeb68b8103a43
creation_rules:
- path_regex: secrets\/secrets\.yaml$
@ -18,6 +19,7 @@ creation_rules:
- *host_framework-server
- *host_piaware-rpi4
- *host_backups-rpi4
- *host_nixos-desktop
- path_regex: secrets\/tailscale\.yaml$
key_groups:
@ -29,6 +31,7 @@ creation_rules:
- *host_framework-server
- *host_piaware-rpi4
- *host_backups-rpi4
- *host_nixos-desktop
- path_regex: secrets\/wireguard\.yaml$
key_groups:

View file

@ -15,10 +15,7 @@ if [ "$(id -u)" -eq 0 ]; then
fi
if [ ! -d "/tmp/nixos/git/.git" ]; then
git clone --filter=blob:none --no-checkout https://git.sysctl.io/albert/nix "/tmp/nixos/git"
cd /tmp/nixos/git
git sparse-checkout set --cone docs/ home-manager/ keys/ssh/ lib/ nixos/ flake.lock flake.nix shell.nix
git checkout main
git clone https://git.sysctl.io/albert/nix "/tmp/nixos/git"
fi
pushd /tmp/nixos/git