2023-09-08 17:54:07 +02:00
|
|
|
{
|
|
|
|
description = "NixOS ISO of netali";
|
|
|
|
inputs = {
|
2024-05-28 22:04:24 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
2023-11-10 21:03:33 +01:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2023-09-08 17:54:07 +02:00
|
|
|
};
|
2023-11-10 21:03:33 +01:00
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }@inputs: {
|
2023-09-08 17:54:07 +02:00
|
|
|
|
|
|
|
iso = (nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = inputs;
|
|
|
|
modules = [ ./iso.nix ];
|
|
|
|
}).config.system.build.isoImage;
|
|
|
|
|
2023-09-09 18:28:59 +02:00
|
|
|
hydraJobs.iso = self.iso;
|
|
|
|
|
2023-11-10 21:03:33 +01:00
|
|
|
overlays.default = (import ./packages);
|
|
|
|
} // flake-utils.lib.eachDefaultSystem (system: let
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in {
|
|
|
|
packages = {
|
|
|
|
netali-configure-net-ruby = pkgs.callPackage ./packages/netali-configure-net-ruby {};
|
|
|
|
netali-default-config-ruby = pkgs.callPackage ./packages/netali-default-config-ruby {};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|