From 6154e38eec5ed31540d17e1dc50d3c18fa71518a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 13 Feb 2020 15:37:12 -0500 Subject: [PATCH] Update readme --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fae7ea1d..e096a073 100644 --- a/README.md +++ b/README.md @@ -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" ```