Eliminate this_nixos_config as a specialArg.

This commit is contained in:
Tom Alexander
2026-11-12 13:49:48 -05:00
parent d8690ad2df
commit 9ffa43acbb
2 changed files with 3 additions and 2 deletions

View File

@@ -105,7 +105,6 @@
}; };
} }
]; ];
specialArgs.this_nixos_config = self.nixosConfigurations."${hostname}";
} }
) nodes; ) nodes;
specialFormats = specialFormats =

View File

@@ -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 = [ ];