mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-05 15:36:23 +01:00
38 lines
872 B
Nix
38 lines
872 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
|
|
./modules/base-stuff.nix
|
|
];
|
|
|
|
system.stateVersion = "22.11";
|
|
};
|
|
};
|
|
};
|
|
}
|