2023-11-07 10:01:36 +08:00
|
|
|
# Reboot your NixOS with kexec
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo nix run github:jeffguorg/nixos-kexec-profile
|
|
|
|
# or boot it
|
2023-11-08 01:05:52 +08:00
|
|
|
sudo nix run github:jeffguorg/nixos-kexec-profile -- -b
|
|
|
|
# or specify a nixos-config and boot it, either with a configuration.nix or flake.nix
|
|
|
|
sudo nix run github:jeffguorg/nixos-kexec-profile -- -b /workspace/nixos
|
2023-11-07 10:01:36 +08:00
|
|
|
```
|