recipes.nix/flake.nix
Adithya Nair febb54cc84
Some checks failed
Build and Push to Cachix / Push to Binary Cache (aarch64) (push) Failing after 1m12s
Build and Push to Cachix / Push to Binary Cache (X86-64) (push) Successful in 4m23s
add module for conduwuit
2024-11-24 21:48:16 +05:30

30 lines
861 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils?ref=main";
};
outputs = { nixpkgs, flake-utils, ... }:
let
pkgs_x86_64-linux = import nixpkgs {
system = "x86_64-linux";
};
pkgs_aarch64-linux = import nixpkgs {
system = "aarch64-linux";
};
in
{
nixosModules.default = import ./modules;
overlays.default = import ./overlay.nix;
packages.x86_64-linux.autobrr = pkgs_x86_64-linux.callPackage ./packages/autobrr { };
packages.aarch64-linux.autobrr = pkgs_aarch64-linux.callPackage ./packages/autobrr { };
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
formatter = pkgs.nixpkgs-fmt;
}
);
}