Commit Graph

2367 Commits

Author SHA1 Message Date
Fernando Rodrigues
ebd896ab95 xen: 4.20.4 -> 4.22.0 (#471250) 2026-08-17 12:45:31 +00:00
quantenzitrone
93a668bc54 squashfs-tools: rename from squashfsTools, enable structuredAttrs
upstream package is called squashfs-tools and other distros also call the package this way https://repology.org/project/squashfs-tools
2026-08-17 14:32:21 +02:00
nixpkgs-ci[bot]
be41d73280 Merge master into staging-nixos 2026-08-17 00:11:51 +00:00
Michele Guerini Rocco
21e032ff95 nixos/containers: fix IPv4-mapped addresses (#536638) 2026-08-16 22:25:34 +00:00
nikstur
5ed1f37e10 nixos/qemu-vm: drop useSecureBoot, always use OVMFFull (#552462) 2026-08-14 14:58:05 +00:00
nikstur
4cdf6cae6f nixos/qemu-vm: drop useSecureBoot, always use OVMFFull
There is not reason to build an extra variant of OVMF only to get Secure
Boot support. We can just use the already built OVMFFull. Since
useSecureBoot is now no-op, it is also removed.
2026-08-14 00:41:26 +02:00
Arian van Putten
a6509f0e11 Darwin linux-builder drop-in solution with Rosetta support (#544193) 2026-08-04 09:10:00 +00:00
Fernando Rodrigues
c86fab4333 nixos/xen: support the separate ocaml store package
This will hopefully allow Xen to use the newer oxenstored instead of
the deprecated one built into the monorepo.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2026-08-04 16:49:29 +10:00
Jacek Galowicz
325e6b2331 qemu-vm and vz-vm: deduplicate erofs image creation 2026-07-30 18:53:40 +02:00
Jacek Galowicz
c08c053f26 linux-builder-vz: reuse vsock comms from test vms 2026-07-30 18:53:40 +02:00
figsoda
08e0e1b667 nixos/nspawn-container: remove outdated comment and flush 2026-07-29 19:23:25 -04:00
Maximilian Bosch
bc7f209c41 nixos/nspawn-container: fix build (#545722) 2026-07-28 20:33:16 +00:00
Friedrich Altheide
1edff5e3ec nixos/virtualbox-guest: Prefix udev rules with number < 72 for uaccess to work 2026-07-27 17:34:02 +02:00
Patrick
097adc1cd2 nixos/xen: fix finalSection detection when using a debug build 2026-07-27 12:33:31 +02:00
figsoda
503d46170d nixos/nspawn-container: fix build 2026-07-25 15:41:51 -04:00
Sandro
997a0b100d nixos/qemu-firmware: init (#538983) 2026-07-25 16:13:16 +00:00
Minijackson
3b94d36d7d nixos/containers: new registries.settings option, deprecate others
Those options mapped to the deprecated V1 format,
and didn't allow using the newer format.

If any of the older options are used,
a warning is displayed,
and the generated registries.conf file follows the old V1 format.

For more information about the new format,
see https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md
2026-07-22 18:09:51 +02:00
Jacek Galowicz
e7c55acd40 linux-builder-vz: init modules and package 2026-07-21 15:53:47 +02:00
Paul Meyer
bc557b7168 nixos/qemu-firmware: init
Link QEMU firmware descriptors to /etc/qemu/firmware, where
systemd-vmspawn and other tools discover firmware for running VMs.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
2026-07-21 10:36:49 +02:00
nixpkgs-ci[bot]
ce772fd977 Merge master into staging-nixos 2026-07-14 15:37:03 +00:00
Grimmauld
4ef20773d3 nixos/incus: Don't give up on missing apparmor rules directory 2026-07-14 12:51:26 +02:00
nixpkgs-ci[bot]
fd549e5765 Merge master into staging-nixos 2026-07-08 18:32:04 +00:00
nixpkgs-ci[bot]
3d21b6c55f Merge master into staging-nixos 2026-07-08 12:36:04 +00:00
nixpkgs-ci[bot]
8ab1ccd1c1 Merge master into staging-next 2026-07-08 12:34:48 +00:00
Freya Andromeda
2e947118ea nixos/incus: fix incus containers being wrongly restarted on package update whilst softDaemonRestart is set
When softDaemonRestart is enabled, containers and virtual machines still get restarted when incus updates
Disabling stopIfChanged on both incus-startup and incus fixes this
2026-07-08 02:40:41 +00:00
zowoq
814dbea27f nixos/nspawn-container: hash name, remove assertion
the code comment is copied from the commit that added the assertion

af0238c70e
2026-07-07 10:59:58 +10:00
nixpkgs-ci[bot]
15fbd37fa0 Merge master into staging-next 2026-07-05 00:38:01 +00:00
Leon Schuermann
aa19ec5231 nixos-containers: fix dummyConfig localMacAddress default
In a13b423085 ("nixos-containers: allow hard-coding container veth MAC address &
add IPv6 SLAAC test case (#462775)") I had a typo in the `localMacAddress`
setting used for the dummy container config to generate the systemd service
template. I don't think this actually causes any breakage, but it's good to fix
for consistency's sake nonetheless.
2026-07-04 15:10:21 -04:00
Martin Weinelt
5a6a726fc2 Merge remote-tracking branch 'origin/master' into staging-next 2026-07-04 20:07:10 +02:00
Adam C. Stephens
a403b3f7ea nixos/incus: add storage.truenas.enable option (#527154) 2026-07-04 17:14:33 +00:00
rnhmjoj
0d665774b3 nixos/containers: fix IPv4-mapped addresses
lib.network.ipv6.fromString tries to parse the address and fails with
IPv4-mapped addresses, but we actually just want to extract the prefix,
so do this using string operations, as for IPv4.

Fixes issue #530543.
2026-06-29 14:18:48 +02:00
K900
caea65bc86 Merge remote-tracking branch 'origin/master' into staging-next 2026-06-27 17:13:58 +03:00
Emily
ac9d740544 nixos/qemu-vm: replace x86_64-darwin in example 2026-06-26 07:55:10 +01:00
Arian van Putten
711b692108 nixos/virtualisation/nspawn-container: add virtualisation.credentials support (#535258) 2026-06-25 15:37:09 +00:00
Arian van Putten
b4a5a3d28f nixos/virtualisation/nspawn-container: add virtualisation.credentials support
Assisted-by: Claude <noreply@anthropic.com>
2026-06-25 13:44:20 +02:00
Grimmauld
58462a7e8d nixos/apparmor: fix lsm loading order (#533428) 2026-06-25 11:00:35 +00:00
Samuel Cobb
fe3a142521 nixos/incus: remove named profile 2026-06-25 07:35:39 +02:00
Arian van Putten
b9ce8900b0 nixos/getty: do not conditionalize on console. (#480686) 2026-06-22 11:31:00 +00:00
zowoq
ff5841b780 nixos/qemu-vm: set daemon user in register-nix-paths (#526816) 2026-06-10 07:34:23 +00:00
Artemis Tosini
0fd107dc2e nixos/qemu-vm: set daemon user in register-nix-paths
The register-nix-paths service caused the nix database to be owned by
root, breaking unprivileged daemon support.

It is unclear why this worked previously.
2026-06-08 09:39:57 -04:00
Doron Behar
48995a6ef9 nixos/virtualisation: (Aarch64) remove -device virtio-gpu-pci
In 9e78baf, Aarch64 machines were added the `-device virtio-gpu-pci`
argument, to mirror `-vga std` option that was added unconditionally to
virtualised x86_64 machines. This also enabled screenshots on aarch64
machines to be taken in tests. Since then, in a7ca287, the `-vga std`
option was removed, because that is the default value of this option
embedded in QEMU since version 2.2.

Removing it from the hard-coded list of qemu options makes it possible
for the user to choose their own `-vga` value. Similarly, for Aarch
virtualised machines, choosing unconditionally the `-device virtio-gpu-pci`
option instead of e.g `-device virtio-gpu-gl-pci`, can be bothersome too - see:

https://discourse.nixos.org/t/test-an-aarch64-linux-vm-wayland-compositor-from-an-x86-64-linux-host/77416/2

This commit is similar to 44c6c2ef16 which
was reverted in #527048.
2026-06-03 13:50:32 +03:00
Adam C. Stephens
0a03e5aed7 nixos/incus: add storage.truenas.enable option
based on https://github.com/NixOS/nixpkgs/pull/522004#issuecomment-4585131794
2026-06-02 10:20:05 -04:00
K900
9d1a8dba42 Revert "nixos/virtualisation: remove hard-coded virtio-gpu-pci device from aarch machines"
This reverts commit 44c6c2ef16.

The change breaks nixosTests.login, blocking channels.
2026-06-02 11:20:17 +03:00
Martin Weinelt
42540e3376 nixos/lxcfs: fuse -> fuse3 (#526739) 2026-06-01 22:49:52 +00:00
Adam C. Stephens
7f7d2e649a nixos/lxcfs: fuse -> fuse3 2026-06-01 10:56:59 -04:00
zowoq
f5c8639dd5 nixos/nspawn-container: use ty instead of mypy
the test driver package is also using ty
85d58871ae
2026-05-29 12:25:45 +10:00
Doron Behar
b43ea96874 nixos/virtualisation: remove hard-coded virtio-gpu-pci device from aarch machines (#517012) 2026-05-28 08:00:30 +00:00
George Shammas
217d834eb9 nixos/containers: fix default gateway with privateNetwork (v2)
The fix in #523016 fixes an issue with the default gateway, however it
does so by unconditionally defining `networking.interfaces.eth0`. This
makes so if you had other methods of defining the addresses for eth0,
those now get blanked out.

Instead, move the logic around so we only define
networking.interfaces.eth0 if we really have to.
2026-05-25 22:17:45 -04:00
Michele Guerini Rocco
71f5212461 nixos/containers: fix default gateway with privateNetwork (#523016) 2026-05-23 13:45:55 +00:00
rnhmjoj
47e19f5f91 nixos/containers: fix default gateway with privateNetwork
Fixes issue reported here https://github.com/NixOS/nixpkgs/pull/515773#issuecomment-4501563586

Containers with privateNetwork have an eth0 interface configured
imperatively by the container setup script, so the networking-interfaces.nix module
doesn't know about it. Specifying the default gateway then fails
silently, unless this setup is mirrored in networking.interfaces.eth0
inside the container.
2026-05-23 09:37:17 +02:00