diff options
-rw-r--r-- | flake.nix | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/flake.nix b/flake.nix index d36a946..a58ba40 100644 --- a/flake.nix +++ b/flake.nix @@ -49,21 +49,15 @@ (self: super: { my = import ./lib { inherit inputs; lib = self; }; }); in { + lib = lib.my; + nixosConfigurations = import ./nixos inputs; homeConfigurations = import ./home inputs; colmena = self.lib.mkColmenaFromNixOSConfigurations self.nixosConfigurations; - lib = lib.my; - - hydraJobs = lib.mapAttrs' (name: pname: { - name = pname; - value = self.nixosConfigurations.${name}.config.system.build.toplevel; - }) (lib.genAttrs (builtins.attrNames self.nixosConfigurations) (name: "nixos-${name}")); - # // lib.mapAttrs' (name: pname: { - # name = pname; - # value = self.homeConfigurations.${name}.activationPackage; - # }) (lib.genAttrs (builtins.attrNames self.homeConfigurations) (name: "home-${name}")); + hydraJobs = self.lib.mkHydraFromNixOSConfigurations self.nixosConfigurations; + # // self.lib.mkHydraFromHomeConfigurations self.homeConfigurations; }; } |