Created
March 21, 2018 16:05
-
-
Save lightdiscord/e4db6ec3c29514f933b79ed615711140 to your computer and use it in GitHub Desktop.
Install my nixos configuration on ec2 machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd /etc/nixos | |
rm configuration.nix | |
nix-shell -p git --run "git clone git@github.com:LightDiscord/nixos-system.git ." | |
ln -s machines/ec2.nix configuration.nix | |
nix-channel --add "https://nixos.org/channels/nixos-unstable" | |
nixos-rebuild switch --upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment