loomio-nix/flake.nix
Akshay Mankar 8d707f9a53
Get loomio server to start
Crashes immediately on hitting any route because vue js stuff is not compiled
yet.
2024-08-24 21:18:34 +02:00

29 lines
754 B
Nix

{
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;
};
}) // {
nixosConfigurations = {
test-vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
(import ./modules/overlay.nix)
./modules/loomio.nix
./hosts/test/configuration.nix
];
};
};
};
}