Skip to content

Commit 0f72f21

Browse files
committed
update REAEME for 23.11
1 parent ae25003 commit 0f72f21

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ Usage
1414
-----
1515

1616
```shell
17-
vagrant init nixos/nixos-18.09-i686
18-
# or
19-
vagrant init nixos/nixos-18.09-x86_64
17+
vagrant init nixbox/nixos --box-version 23.11
2018
```
2119

2220
Also have a look at the accompanying nixos vagrant plugin:
@@ -56,8 +54,8 @@ Have a look at the different `make build` target to build your image.
5654

5755
```shell
5856
make build-all # Build latest version for all architectures
59-
make VERSION=22.05 build # Build specific version for x86_64 architecture
60-
make VERSION=22.05 ARCH=i686 build # Build specific version for specific architecture
57+
make VERSION=23.11 build # Build specific version for x86_64 architecture
58+
make VERSION=23.11 ARCH=i686 build # Build specific version for specific architecture
6159

6260
make vagrant-add
6361
make vagrant-push
@@ -66,18 +64,18 @@ make vagrant-push
6664
If you build on a host that does not support Makefile, here are some examples:
6765

6866
```shell
69-
packer build --only=virtualbox-iso.virtualbox -var version=22.05 --except=vagrant-cloud nixos.pkr.hcl
70-
packer build --only=qemu.qemu -var version=22.05 --except=vagrant-cloud nixos.pkr.hcl
71-
packer build --only=vmware-iso.vmware -var version=22.05 --except=vagrant-cloud nixos.pkr.hcl
72-
packer build -var-file="nixos.auto.pkvars.hcl" --only=hyperv-iso.hyperv --except=vagrant-cloud nixos.pkr.hcl
67+
packer build --only=virtualbox-iso.virtualbox -var version=23.11 --except=vagrant-cloud nixos.pkr.hcl
68+
packer build --only=qemu.qemu -var version=23.11 --except=vagrant-cloud nixos.pkr.hcl
69+
packer build --only=vmware-iso.vmware -var version=23.11 --except=vagrant-cloud nixos.pkr.hcl
70+
packer build --only=hyperv-iso.hyperv -var version=23.11 --except=vagrant-cloud nixos.pkr.hcl
7371
```
7472

7573
The vagrant .box image is now ready to go and you can use it in vagrant:
7674

7775
```shell
78-
vagrant box add nixbox32 nixos-22.05-libvirt-i686.box
76+
vagrant box add nixbox32 nixos-23.11-libvirt-i686.box
7977
# or
80-
vagrant box add nixbox64 nixos-22.05-virtualbox-x86_64.box
78+
vagrant box add nixbox64 nixos-23.11-virtualbox-x86_64.box
8179
```
8280

8381
Troubleshooting
@@ -101,7 +99,7 @@ Vagrant.configure("2") do |config|
10199

102100
# Use a suitable NixOS base. VM built with nixbox are tested to work with
103101
# this plugin.
104-
config.vm.box = "nixos-22.05"
102+
config.vm.box = "nixos-23.11"
105103

106104
# Add the htop package
107105
config.vm.provision :nixos,

0 commit comments

Comments
 (0)