If I want to install nix-os shell into an
ubuntu:focal container, I have to set
security.nesting "true" to allow the install script to work https://github.com/NixOS/nix/issues/2649.
I have tried using this profile to set-up. Everything seems to work except setting
security.nesting from the launch profile.
config: nvidia.driver.capabilities: compute, utility nvidia.runtime: "true" security.nesting: "true" user.user-data: | #cloud-config package_upgrade: true locale: en_AU.UTF-8 timezone: Australia/Sydney ssh_authorized_keys: - ssh-rsa <...> description: nix-shell profile devices: gpu: type: gpu name: nix-profile used_by: - /1.0/instances/j1
I can set
lxc config set $c1 security.nesting true successfully from the command line. It is never set
true from the launch profile.
% lxc launch ubuntu:focal --profile default --profile nix-profile j1
help appreciated - thanks…