diff --git a/nix/configuration/flake.nix b/nix/configuration/flake.nix index 7a02456..016542f 100644 --- a/nix/configuration/flake.nix +++ b/nix/configuration/flake.nix @@ -105,7 +105,6 @@ }; } ]; - specialArgs.this_nixos_config = self.nixosConfigurations."${hostname}"; } ) nodes; specialFormats = diff --git a/nix/configuration/roles/disko/default.nix b/nix/configuration/roles/disko/default.nix index f837eb1..969bb0a 100644 --- a/nix/configuration/roles/disko/default.nix +++ b/nix/configuration/roles/disko/default.nix @@ -3,7 +3,6 @@ lib, pkgs, self, - this_nixos_config, ... }: @@ -50,6 +49,9 @@ # ++ flakeOutPaths; # closureInfo = pkgs.closureInfo { rootPaths = dependencies; }; # in +let + this_nixos_config = self.nixosConfigurations."${config.networking.hostName}"; +in { imports = [ ];