about summary refs log tree commit diff
path: root/lib/nixos_configurations_as_packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nixos_configurations_as_packages.nix')
-rw-r--r--lib/nixos_configurations_as_packages.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/nixos_configurations_as_packages.nix b/lib/nixos_configurations_as_packages.nix
deleted file mode 100644
index 356b09b..0000000
--- a/lib/nixos_configurations_as_packages.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ self, ... } @ inputs:
-
-let
-  pkgs = import inputs.unstable { system = "x86_64-linux"; };
-
-  inherit (pkgs.lib) genAttrs mapAttrs';
-
-  hostNames = __attrNames self.nixosConfigurations;
-  attrHostNames = genAttrs hostNames (name: "nixos/config/${name}");
-  configs = mapAttrs' (name: pname: { name = pname; value = self.nixosConfigurations.${name}.config.system.build.toplevel; }) attrHostNames;
-in
-{ x86_64-linux = configs; }