grub/systemd
This commit is contained in:
parent
3d0033b8b2
commit
a466adce75
1 changed files with 7 additions and 1 deletions
|
@ -7,5 +7,11 @@ Tiny Nix for use when bootstrapping lower spec systems.
|
||||||
curl https://git.hsn.dev/jahanson/MiniNix/raw/branch/main/disko-nixos.nix > disko.nix && sed -i 's|/dev/sda|/dev/nvme0n1|g' ./disko.nix && nix run --experimental-features "nix-command flakes" github:nix-community/disko -- --mode disko ./disko.nix
|
curl https://git.hsn.dev/jahanson/MiniNix/raw/branch/main/disko-nixos.nix > disko.nix && sed -i 's|/dev/sda|/dev/nvme0n1|g' ./disko.nix && nix run --experimental-features "nix-command flakes" github:nix-community/disko -- --mode disko ./disko.nix
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
mkdir -p /mnt/etc/nixos && mkdir -p /mnt/nix/tmp && nix-shell -p git --run 'TMPDIR=/mnt/nix/tmp nixos-install --flake git+https://git.hsn.dev/jahanson/MiniNix#mini-x86 --no-write-lock-file'
|
|
||||||
|
## grub
|
||||||
|
mkdir -p /mnt/etc/nixos && mkdir -p /mnt/nix/tmp && nix-shell -p git --run 'TMPDIR=/mnt/nix/tmp nixos-install --flake git+https://git.hsn.dev/jahanson/MiniNix#mini-x86-grub --no-write-lock-file'
|
||||||
|
|
||||||
|
## systemd
|
||||||
|
mkdir -p /mnt/etc/nixos && mkdir -p /mnt/nix/tmp && nix-shell -p git --run 'TMPDIR=/mnt/nix/tmp nixos-install --flake git+https://git.hsn.dev/jahanson/MiniNix#mini-x86-systemd --no-write-lock-file'
|
||||||
|
|
||||||
```
|
```
|
Reference in a new issue