I am running
Client version: 6.11
Server version: 6.11
All settings/configuration are left as default. (Network/storage) I can also verify network connectivity.
Kernel:
6.15.4-061504-generic #202506271452 SMP PREEMPT_DYNAMIC Fri Jun 27 19:59:22 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
container instance launch:
incus launch images:nixos/25.05
When installing vim package by adding
environment.systemPackages = [
pkgs.vim
];
[root@nixos:~]# sudo nix-channel --list
nixos https://nixos.org/channels/nixos-25.05
[root@nixos:~]# sudo nix-channel --update
unpacking 1 channels...
error: this system does not support the kernel namespaces that are required for sandboxing; use '--no-sandbox' to disable sandboxing
error: program '/nix/store/q7v3i9ii8mp6pjasxwip4ybq79hzxj1q-nix-2.28.4/bin/nix-env' failed with exit code 1
[root@nixos:~]# nixos-rebuild switch
warning: Nix search path entry 'nixpkgs=channel:nixos-25.05' does not exist, ignoring
error:
… while calling the 'import' builtin
at «string»:1:6:
1| with import <nixpkgs/nixos> {}; config.system.build.nixos-rebuild
| ^
… while realising the context of a path
… while calling the 'findFile' builtin
at «string»:1:13:
1| with import <nixpkgs/nixos> {}; config.system.build.nixos-rebuild
| ^
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
building Nix...
warning: Nix search path entry 'nixpkgs=channel:nixos-25.05' does not exist, ignoring
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
warning: Nix search path entry 'nixpkgs=channel:nixos-25.05' does not exist, ignoring
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
warning: Nix search path entry 'nixpkgs=channel:nixos-25.05' does not exist, ignoring
error: file 'nixpkgs/nixos/modules/installer/tools/nix-fallback-paths.nix' was not found in the Nix search path (add it using $NIX_PATH or -I)
/tmp/nixos-rebuild.jTn3cc/nix
warning: Nix search path entry 'nixpkgs=channel:nixos-25.05' does not exist, ignoring
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
building the system configuration...
warning: Nix search path entry 'nixpkgs=channel:nixos-25.05' does not exist, ignoring
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
I am looking forward to using Nix with Incus and appreciate any help the community can provide.