diff --git a/README.md b/README.md index 6664f60b..cebf0434 100644 --- a/README.md +++ b/README.md @@ -117,19 +117,13 @@ tar -xvf /tmp/dotfiles.tar.gz -C /mnt/home/cyryl/dev/dotfiles nix-shell -p nixUnstable git cd /mnt/home/cyryl/dev/dotfiles/ nixos-install --flake '.#bootstrap' -reboot -``` - -ctrl-alt-f1 root login: - -```bash -# nixos-rebuild switch passwd cyryl chown cyryl -R /home/cyryl reboot ``` -gui-login as cyryl: + +ctrl-alt-f1 cyryl login: ```bash cd ~/dev/dotfiles/ @@ -137,11 +131,13 @@ mkdir -p nixos/boxes/HOSTNAME cp nixos/boxes/bootstrap/2.nix nixos/boxes/HOSTNAME/default.nix cp nixos/boxes/bootstrap/hardware-configuration.nix nixos/boxes/HOSTNAME/ sudo ln -vfs /home/cyryl/dev/dotfiles/nixos/boxes/HOSTNAME/default.nix /etc/nixos/configuration.nix -sudo nixos-rebuild switch --upgrade +sudo nixos-rebuild switch --flake '.#HOSTNAME' reboot ``` ```bash +cd ~/dev/dotfiles/ +nixos-install --flake '.#' ssh-keygen -t ed25519 # syncthing # vault @@ -149,7 +145,6 @@ ssh-keygen -t ed25519 # bitwarden # add key to sr.ht cd ~/dev/dotfiles -git remote add git@git.sr.ht:~cyplo/dotfiles git checkout nixos/boxes/bootstrap ```