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