refresh install documentation
This commit is contained in:
parent
70d01cc00a
commit
f739b86fd4
1 changed files with 5 additions and 10 deletions
15
README.md
15
README.md
|
@ -117,19 +117,13 @@ tar -xvf /tmp/dotfiles.tar.gz -C /mnt/home/cyryl/dev/dotfiles
|
||||||
nix-shell -p nixUnstable git
|
nix-shell -p nixUnstable git
|
||||||
cd /mnt/home/cyryl/dev/dotfiles/
|
cd /mnt/home/cyryl/dev/dotfiles/
|
||||||
nixos-install --flake '.#bootstrap'
|
nixos-install --flake '.#bootstrap'
|
||||||
reboot
|
|
||||||
```
|
|
||||||
|
|
||||||
ctrl-alt-f1 root login:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# nixos-rebuild switch
|
|
||||||
passwd cyryl
|
passwd cyryl
|
||||||
chown cyryl -R /home/cyryl
|
chown cyryl -R /home/cyryl
|
||||||
reboot
|
reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
gui-login as cyryl:
|
|
||||||
|
ctrl-alt-f1 cyryl login:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd ~/dev/dotfiles/
|
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/2.nix nixos/boxes/HOSTNAME/default.nix
|
||||||
cp nixos/boxes/bootstrap/hardware-configuration.nix nixos/boxes/HOSTNAME/
|
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 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
|
reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
cd ~/dev/dotfiles/
|
||||||
|
nixos-install --flake '.#'
|
||||||
ssh-keygen -t ed25519
|
ssh-keygen -t ed25519
|
||||||
# syncthing
|
# syncthing
|
||||||
# vault
|
# vault
|
||||||
|
@ -149,7 +145,6 @@ ssh-keygen -t ed25519
|
||||||
# bitwarden
|
# bitwarden
|
||||||
# add key to sr.ht
|
# add key to sr.ht
|
||||||
cd ~/dev/dotfiles
|
cd ~/dev/dotfiles
|
||||||
git remote add git@git.sr.ht:~cyplo/dotfiles
|
|
||||||
git checkout nixos/boxes/bootstrap
|
git checkout nixos/boxes/bootstrap
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue