2022-04-20 11:01:51 +00:00
|
|
|
#!/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
|
|
|
|
|
2022-10-16 12:13:55 +00:00
|
|
|
cmd "nix-channel --add https://nixos.org/channels/nixos-22.05 nixos"
|
2022-10-16 12:34:39 +00:00
|
|
|
cmd nixos-rebuild switch --upgrade --show-trace
|