katzen-cafe/flake.nix

36 lines
834 B
Nix
Raw Normal View History

2023-04-25 13:57:59 +00: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
];
system.stateVersion = "22.11";
};
};
};
}