АБ
nix-shell -p nixUnstable
по идееSize: a a a
АБ
nix-shell -p nixUnstable
по идеец
nix run nixpkgs.nixFlakes -c nix --experimental-features 'flakes nix-command' build .#nixosConfigurations.nixos.config.system.build.toplevel
АБ
АБ
ц
ц
sudo ./result/bin/switch-to-configuration switch
𝙼
/etc/nixos master nix-shell -p nixUnstable
error: infinite recursion encountered, at /run/nixpkgs/lib/modules.nix:303:28
(use '--show-trace' to show detailed location information)
𝙼
ц
АБ
АБ
𝙼
АБ
NIX_PATH=nixpkgs= https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz nix-shell -p nixUnstable
𝙼
[nix-shell:/etc/nixos]$ nix run nixpkgs.nixFlakes -c nix --experimental-features 'flakes nix-command' build .#nixosConfigurations.nixos.config.system.build.toplevel
error: unrecognised flag '-c'
Try 'nix --help' for more information.
АБ
nix-shell -p nixUnstable
уже просто nix --experimental-features 'flakes nix-command' build .#nixosConfigurations.nixos.config.system.build.toplevel