+38
nixos/modules/virtualisation/lxc.nix
+38
nixos/modules/virtualisation/lxc.nix
···+unprivilegedContainers = lib.mkEnableOption "support for unprivileged users to launch containers";·········
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
+6
-2
nixos/tests/incus/incusd-options.nix
+6
-2
nixos/tests/incus/incusd-options.nix
···-container-image-metadata = "${releases.incusContainerMeta.${pkgs.stdenv.hostPlatform.system}}/tarball/nixos-system-${pkgs.stdenv.hostPlatform.system}.tar.xz";-container-image-rootfs = "${releases.incusContainerImage.${pkgs.stdenv.hostPlatform.system}}/nixos-lxc-image-${pkgs.stdenv.hostPlatform.system}.squashfs";
+124
nixos/tests/lxc/default.nix
+124
nixos/tests/lxc/default.nix
···+machine.succeed("su -- alice -c 'lxc-create -t local -n test -- --metadata ${lxc-image-metadata}/*/*.tar.xz --fstree ${lxc-image-rootfs}/*/*.tar.xz'")
+23
-1
pkgs/by-name/lx/lxc/package.nix
+23
-1
pkgs/by-name/lx/lxc/package.nix
···+substituteInPlace $out/share/lxc/templates/lxc-download --replace-fail "$out/share" "/run/current-system/sw/share"+substituteInPlace $out/share/lxc/templates/lxc-local --replace-fail "$out/share" "/run/current-system/sw/share"+substituteInPlace $out/share/lxc/templates/lxc-oci --replace-fail "$out/share" "/run/current-system/sw/share"+substituteInPlace $out/share/lxc/config/common.conf --replace-fail "$out/share" "/run/current-system/sw/share"+substituteInPlace $out/share/lxc/config/userns.conf --replace-fail "$out/share" "/run/current-system/sw/share"+substituteInPlace $out/share/lxc/config/oci.common.conf --replace-fail "$out/share" "/run/current-system/sw/share"···
+13
pkgs/by-name/lx/lxc/user-nic.diff
+13
pkgs/by-name/lx/lxc/user-nic.diff
···