mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-05 07:26:23 +01:00
62 lines
1.7 KiB
Nix
62 lines
1.7 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
|
nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
arion.url = "github:hercules-ci/arion";
|
|
mms.url = "github:mkaito/nixos-modded-minecraft-servers";
|
|
# conduit = {
|
|
# url = "gitlab:famedly/conduit";
|
|
# };
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixpkgsUnstable, ... }@inputs:
|
|
let
|
|
hostPkgs = import nixpkgs { system = "x86_64-linux"; };
|
|
in {
|
|
devShell."x86_64-linux" = with hostPkgs; mkShell {
|
|
buildInputs = [ colmena vault ];
|
|
VAULT_ADDR = "https://hc-vault.katzen.cafe";
|
|
};
|
|
colmena = {
|
|
meta = {
|
|
nixpkgs = import nixpkgs {
|
|
system = "aarch64-linux";
|
|
overlays = [];
|
|
};
|
|
specialArgs = {
|
|
inherit inputs;
|
|
pkgsUnstable = import nixpkgsUnstable {
|
|
system = "aarch64-linux";
|
|
overlays = [];
|
|
};
|
|
};
|
|
};
|
|
|
|
katzencafe = { name, nodes, pkgs, pkgsUnstable, inputs, ... }: {
|
|
deployment = {
|
|
targetHost = "katzen.cafe";
|
|
#targetHost = "2a01:4f8:c17:c51f::";
|
|
buildOnTarget = true;
|
|
};
|
|
imports = [
|
|
./modules/base-stuff.nix
|
|
./modules/proxy.nix
|
|
./modules/postgres.nix
|
|
#./modules/jitsi.nix
|
|
./modules/containers
|
|
./modules/conduit.nix
|
|
./modules/keycloak.nix
|
|
./modules/forgejo.nix
|
|
./modules/mumble.nix
|
|
./modules/modded-mc.nix
|
|
#./modules/prosody.nix
|
|
./modules/vault.nix
|
|
];
|
|
|
|
system.stateVersion = "22.11";
|
|
};
|
|
};
|
|
};
|
|
}
|