nix-stuff/flake.nix

23 lines
455 B
Nix

{
description = "A very basic flake";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem ["x86_64-linux"] (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages = rec {
agola = pkgs.callPackage ./pkgs/agola.nix {};
};
nixosModules = {
agola = import ./modules/agola.nix;
};
}
);
}