Browse Source

Update nix-setup.sh

master
James McDermott 9 months ago
committed by GitHub
parent
commit
7fdd5937af
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      admin-scripts/nix-setup.sh

+ 3
- 0
admin-scripts/nix-setup.sh View File

@@ -4,5 +4,8 @@ git clone https://github.com/theycallmemac/nix-configs /etc/nixos2
pushd /etc/nixos2
git checkout -b ec2 remotes/origin/ec2
cp -R /etc/nixos2/* /etc/nixos/
cp -R /etc/nixos2/.git /etc/nixos/.git
nix-channel --add https://github.com/nix-community/home-manager/archive/release-20.09.tar.gz home-manager
nix-channel --update
nixos-rebuild switch
rm -r /etc/nixos2

Loading…
Cancel
Save