Akshay Mankar
8d707f9a53
Crashes immediately on hitting any route because vue js stuff is not compiled yet.
29 lines
754 B
Nix
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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|