2023-04-25 15:57:59 +02:00
|
|
|
{
|
|
|
|
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
|
2023-04-25 18:36:26 +02:00
|
|
|
./modules/base-stuff.nix
|
2023-04-25 15:57:59 +02:00
|
|
|
];
|
2023-04-25 18:36:26 +02:00
|
|
|
|
2023-04-25 15:57:59 +02:00
|
|
|
system.stateVersion = "22.11";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|