refresh install documentation

This commit is contained in:
Cyryl Płotnicki 2021-09-18 09:57:40 +02:00
parent 70d01cc00a
commit f739b86fd4

View file

@ -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
```