katzen-cafe/flake.nix

40 lines
927 B
Nix
Raw Normal View History

2023-04-25 13:57:59 +00:00
{
inputs = {
2023-04-26 21:25:04 +00:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
2023-04-25 13:57:59 +00:00
};
2023-04-26 21:25:04 +00:00
outputs = { self, nixpkgs, ... }@inputs:
2023-04-25 13:57:59 +00:00
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 = [
2023-04-26 21:25:04 +00:00
./modules/base-stuff.nix
2023-04-25 13:57:59 +00:00
./modules/proxy.nix
2023-04-26 23:48:20 +00:00
./modules/postgres.nix
#./modules/jitsi.nix
2023-04-26 21:25:04 +00:00
./modules/containers
./modules/keycloak.nix
2023-04-25 13:57:59 +00:00
];
2023-04-25 16:36:26 +00:00
2023-04-25 13:57:59 +00:00
system.stateVersion = "22.11";
};
};
};
}