2023-04-25 15:57:59 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
2023-07-30 16:24:46 +02:00
|
|
|
nixpkgsOld.url = "github:NixOS/nixpkgs/nixos-22.11";
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
2023-05-03 14:38:40 +02:00
|
|
|
nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-05-03 00:01:02 +02:00
|
|
|
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
arion.url = "github:hercules-ci/arion";
|
2023-05-08 07:17:06 +02:00
|
|
|
mms.url = "github:mkaito/nixos-modded-minecraft-servers";
|
2023-07-30 16:24:46 +02:00
|
|
|
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.05";
|
|
|
|
conduit = {
|
|
|
|
url = "gitlab:famedly/conduit";
|
|
|
|
};
|
2023-04-25 15:57:59 +02:00
|
|
|
};
|
|
|
|
|
2023-07-30 16:24:46 +02:00
|
|
|
outputs = { self, nixpkgsOld, nixpkgs, nixpkgsUnstable, ... }@inputs:
|
2023-04-25 15:57:59 +02:00
|
|
|
let
|
2023-05-03 00:01:02 +02:00
|
|
|
hostPkgs = import nixpkgs { system = "x86_64-linux"; };
|
2023-04-25 15:57:59 +02:00
|
|
|
in {
|
2023-05-03 00:01:02 +02:00
|
|
|
devShell."x86_64-linux" = with hostPkgs; mkShell {
|
2023-08-06 20:17:41 +02:00
|
|
|
buildInputs = [ colmena pass ];
|
2023-04-25 15:57:59 +02:00
|
|
|
};
|
|
|
|
colmena = {
|
|
|
|
meta = {
|
|
|
|
nixpkgs = import nixpkgs {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
overlays = [];
|
|
|
|
};
|
2023-05-03 00:01:02 +02:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
2023-05-03 14:38:40 +02:00
|
|
|
pkgsUnstable = import nixpkgsUnstable {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
overlays = [];
|
|
|
|
};
|
2023-07-30 16:24:46 +02:00
|
|
|
pkgsOld = import nixpkgsOld {
|
|
|
|
system = "aarch64-linux";
|
|
|
|
overlays = [];
|
|
|
|
};
|
2023-05-03 00:01:02 +02:00
|
|
|
};
|
2023-04-25 15:57:59 +02:00
|
|
|
};
|
|
|
|
|
2023-05-03 14:38:40 +02:00
|
|
|
katzencafe = { name, nodes, pkgs, pkgsUnstable, inputs, ... }: {
|
2023-04-25 15:57:59 +02:00
|
|
|
deployment = {
|
|
|
|
targetHost = "katzen.cafe";
|
2023-05-21 12:52:04 +02:00
|
|
|
buildOnTarget = true;
|
2023-04-25 15:57:59 +02:00
|
|
|
};
|
|
|
|
imports = [
|
2023-04-26 23:25:04 +02:00
|
|
|
./modules/base-stuff.nix
|
2023-04-25 15:57:59 +02:00
|
|
|
./modules/proxy.nix
|
2023-04-27 01:48:20 +02:00
|
|
|
./modules/postgres.nix
|
2023-07-30 18:19:44 +02:00
|
|
|
./modules/jitsi.nix
|
2023-04-26 23:25:04 +02:00
|
|
|
./modules/containers
|
2023-05-21 09:50:51 +02:00
|
|
|
./modules/conduit.nix
|
2023-04-26 23:25:04 +02:00
|
|
|
./modules/keycloak.nix
|
2023-05-03 14:38:40 +02:00
|
|
|
./modules/forgejo.nix
|
2023-05-08 07:17:06 +02:00
|
|
|
./modules/mumble.nix
|
|
|
|
./modules/modded-mc.nix
|
2023-07-30 16:24:46 +02:00
|
|
|
./modules/monitoring.nix
|
|
|
|
./modules/mailserver.nix
|
2023-11-21 08:09:07 +01:00
|
|
|
./modules/vaultwarden.nix
|
2023-11-21 10:19:35 +01:00
|
|
|
./modules/hedgedoc.nix
|
2023-04-25 15:57:59 +02:00
|
|
|
];
|
2023-04-25 18:36:26 +02:00
|
|
|
|
2023-04-25 15:57:59 +02:00
|
|
|
system.stateVersion = "22.11";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|