aboutsummaryrefslogtreecommitdiff
path: root/deploy_nixos
blob: 0bd1b4c128a5634942798a642de4f036677625da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ./sshtool

copy nix/configuration.nix /etc/nixos/configuration.nix
copy nix/deuxfleurs.nix /etc/nixos/deuxfleurs.nix
copy nix/remote-unlock.nix /etc/nixos/remote-unlock.nix
copy cluster/$CLUSTER/cluster.nix /etc/nixos/cluster.nix
copy cluster/$CLUSTER/node/$NIXHOST.nix /etc/nixos/node.nix
copy cluster/$CLUSTER/node/$NIXHOST.site.nix /etc/nixos/site.nix

cmd nixos-rebuild switch --show-trace