mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-22 05:54:41 +01:00
40 lines
927 B
Nix
40 lines
927 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }@inputs:
|
|
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/base-stuff.nix
|
|
./modules/proxy.nix
|
|
./modules/postgres.nix
|
|
#./modules/jitsi.nix
|
|
./modules/containers
|
|
./modules/keycloak.nix
|
|
];
|
|
|
|
system.stateVersion = "22.11";
|
|
};
|
|
};
|
|
};
|
|
}
|