aboutsummaryrefslogtreecommitdiff
path: root/initial-deploy.sh
blob: ac71dd2d6a025e61b0a7340815104316a725d217 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Install git first, and you'd probably want vim to make changes.
# You'll also need an ssh key to my server. You can change the
# sources if you don't have access to my server.
sudo mv /etc/nixos/configuration.nix /etc/nixos/configuration.nix.old
sudo ln $HOME/src/toughnix/flake.nix /etc/nixos/
sudo ln $HOME/src/toughnix/flake.lock /etc/nixos/
sudo ln $HOME/src/toughnix/configuration.nix /etc/nixos/
sudo ln $HOME/src/toughnix/home.nix /etc/nixos/
sudo cp $HOME/src/toughnix/vars.nix /etc/nixos/