forked from katzen-cafe/katzen-cafe
36 lines
834 B
Nix
36 lines
834 B
Nix
|
{
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, utils, ... }:
|
||
|
let
|
||
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||
|
in {
|
||
|
devShell."x86_64-linux" = with pkgs; mkShell {
|
||
|
buildInputs = [ colmena ];
|
||
|
};
|
||
|
colmena = {
|
||
|
meta = {
|
||
|
nixpkgs = import nixpkgs {
|
||
|
system = "aarch64-linux";
|
||
|
overlays = [];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
katzencafe = { name, nodes, pkgs, ... }: {
|
||
|
deployment = {
|
||
|
targetHost = "katzen.cafe";
|
||
|
buildOnTarget = true;
|
||
|
};
|
||
|
imports = [
|
||
|
./modules/proxy.nix
|
||
|
./modules/jitsi.nix
|
||
|
];
|
||
|
system.stateVersion = "22.11";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|