Update readme

This commit is contained in:
Henrik Lissner 2020-02-13 15:37:12 -05:00
parent 22bad0de92
commit 6154e38eec
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -37,8 +37,9 @@ curl https://raw.githubusercontent.com/hlissner/dotfiles/nixos/deploy | sh
Which is equivalent to:
```sh
USER=${USER:-hlissner}
DOTFILES=/home/$USER/.dotfiles
git clone https://github.com/hlissner/dotfiles $DOTFILES
git clone https://github.com/hlissner/dotfiles /etc/dotfiles
ln -s /etc/dotfiles $DOTFILES
chown -R $USER:users $DOTFILES
@ -51,9 +52,6 @@ nix-channel --add "https://nixos.org/channels/nixpkgs-unstable" nixpkgs-unstable
nixos-generate-config --root /mnt
echo "import /etc/dotfiles \"$$(hostname)\"" >/mnt/etc/nixos/configuration.nix
# make secrets.nix
nix-shell -p gnupg --run "gpg -dq secrets.nix.gpg >secrets.nix"
# make install
nixos-install --root /mnt -I "my=/etc/dotfiles"
```