Loading nixos/modules/virtualisation/nixos-containers.nix +5 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,11 @@ in extraConfig = { options, ... }: { _file = "module at ${__curPos.file}:${toString __curPos.line}"; config = { nixpkgs = { inherit (host.pkgs.stdenv) hostPlatform; }; nixpkgs = if options.nixpkgs?hostPlatform then { inherit (host.pkgs.stdenv) hostPlatform; } else { localSystem = host.pkgs.stdenv.hostPlatform; } ; boot.isContainer = true; networking.hostName = mkDefault name; networking.useDHCP = false; Loading Loading
nixos/modules/virtualisation/nixos-containers.nix +5 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,11 @@ in extraConfig = { options, ... }: { _file = "module at ${__curPos.file}:${toString __curPos.line}"; config = { nixpkgs = { inherit (host.pkgs.stdenv) hostPlatform; }; nixpkgs = if options.nixpkgs?hostPlatform then { inherit (host.pkgs.stdenv) hostPlatform; } else { localSystem = host.pkgs.stdenv.hostPlatform; } ; boot.isContainer = true; networking.hostName = mkDefault name; networking.useDHCP = false; Loading