Enable nextcloud on alto

This commit is contained in:
SebastianStork 2025-04-09 20:35:04 +02:00
parent dd03ad4fde
commit 7c1275b0de
7 changed files with 241 additions and 4 deletions

View file

@ -20,9 +20,9 @@ dev shell='default':
nix develop .#{{ shell }} --command zsh
install host:
ssh -o StrictHostKeyChecking=no root@installer 'disko --mode destroy,format,mount --yes-wipe-all-disks --flake github:SebastianStork/nixos-config#{{ host }}'
ssh -o StrictHostKeyChecking=no root@installer 'disko --mode destroy,format,mount --yes-wipe-all-disks --flake github:SebastianStork/nixos-config/61083d4359d379981d4bd838998820199c5d8bb9#{{ host }}'
ssh -o StrictHostKeyChecking=no root@installer 'mkdir -p /mnt/etc/ssh'
scp -o StrictHostKeyChecking=no ~/.ssh/{{ host }} root@installer:/mnt/etc/ssh/ssh_host_ed25519_key
scp -o StrictHostKeyChecking=no ~/.ssh/{{ host }}.pub root@installer:/mnt/etc/ssh/ssh_host_ed25519_key.pub
ssh -o StrictHostKeyChecking=no root@installer 'nixos-install --flake github:SebastianStork/nixos-config#{{ host }}'
ssh -o StrictHostKeyChecking=no root@installer 'nixos-install --flake github:SebastianStork/nixos-config/61083d4359d379981d4bd838998820199c5d8bb9#{{ host }}'
ssh -o StrictHostKeyChecking=no root@installer 'reboot'