loomio-nix/flake.nix

28 lines
721 B
Nix
Raw Normal View History

2024-04-05 12:19:55 +00:00
{
description = "The loomio flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = {nixpkgs, flake-utils, ...}:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in rec {
packages = rec {
loomio = pkgs.callPackage ./pkg/loomio/default.nix {};
inherit pkgs;
};
2024-08-23 08:24:36 +00:00
}) // {
nixosConfigurations = {
test-vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
(import ./modules/overlay.nix)
./hosts/test/configuration.nix
];
};
};
};
2024-04-05 12:19:55 +00:00
}