···9999 # makes it bootable.
100100 baseSystem = showWarnings (
101101 if [] == failed then pkgs.stdenv.mkDerivation {
102102- name = "nixos-${config.system.nixosVersion}";
102102+ name = let hn = config.networking.hostName;
103103+ nn = if (hn != "") then hn else "unnamed";
104104+ in "nixos-system-${nn}-${config.system.nixosVersion}";
103105 preferLocalBuild = true;
104106 allowSubstitutes = false;
105107 buildCommand = systemBuilder;