nix-channel --list
nix-env --uninstall <package>
nix-channel --update
nix-env -u '*'
nix-store --gc
nix-env --query
sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=1
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=1
# And if you want to disable it, run the following two commands:
sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces