nixos-iso/flake.nix

27 lines
788 B
Nix
Raw Normal View History

2023-09-08 17:54:07 +02:00
{
description = "NixOS ISO of netali";
inputs = {
2024-11-22 15:25:06 +01:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
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 {};
};
});
}