install steps to follow after first rebuild
This commit is contained in:
parent
de1105648c
commit
e3bb6ffdb0
1 changed files with 13 additions and 2 deletions
15
README.md
15
README.md
|
@ -60,17 +60,28 @@ nixos-install
|
||||||
reboot
|
reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
logged in as root on the target box:
|
ctrl-alt-f1 root login:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ln -vfs /home/cyryl/dev/dotfiles/nixos/boxes/bootstrap/2.nix /etc/nixos/configuration.nix
|
ln -vfs /home/cyryl/dev/dotfiles/nixos/boxes/bootstrap/2.nix /etc/nixos/configuration.nix
|
||||||
vim /home/cyryl/dev/dotfiles/nixos/boxes/bootstrap/2.nix
|
vim /home/cyryl/dev/dotfiles/nixos/boxes/bootstrap/2.nix
|
||||||
nixos-rebuild switch
|
nixos-rebuild switch
|
||||||
passwd cyryl
|
passwd cyryl
|
||||||
|
chown cyryl -R /home/cyryl
|
||||||
reboot
|
reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Create new / update the `boxes/hostname` entry with the edited bootstrap files from above
|
gui-login as cyryl:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ~/dev/dotfiles/
|
||||||
|
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/
|
||||||
|
ln -vfs /home/cyryl/dev/dotfiles/nixos/boxes/HOSTNAME/default.nix /etc/nixos/configuration.nix
|
||||||
|
sudo nixos-rebuild switch --upgrade
|
||||||
|
reboot
|
||||||
|
```
|
||||||
|
|
||||||
## guix
|
## guix
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue