Eliminate this_nixos_config as a specialArg.
This commit is contained in:
@@ -105,7 +105,6 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
specialArgs.this_nixos_config = self.nixosConfigurations."${hostname}";
|
|
||||||
}
|
}
|
||||||
) nodes;
|
) nodes;
|
||||||
specialFormats =
|
specialFormats =
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
self,
|
self,
|
||||||
this_nixos_config,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -50,6 +49,9 @@
|
|||||||
# ++ flakeOutPaths;
|
# ++ flakeOutPaths;
|
||||||
# closureInfo = pkgs.closureInfo { rootPaths = dependencies; };
|
# closureInfo = pkgs.closureInfo { rootPaths = dependencies; };
|
||||||
# in
|
# in
|
||||||
|
let
|
||||||
|
this_nixos_config = self.nixosConfigurations."${config.networking.hostName}";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [ ];
|
imports = [ ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user