forked from katzen-cafe/katzen-cafe
init
This commit is contained in:
commit
979b78bafc
5 changed files with 122 additions and 0 deletions
35
flake.nix
Normal file
35
flake.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue