add hedgedoc config

This commit is contained in:
XenGi 2026-02-01 00:26:41 +01:00
parent 41bc2bff69
commit a3a5cc794c
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
5 changed files with 212 additions and 32 deletions

View file

@ -1,13 +1,11 @@
{
description = "Matrix server for CCCB";
description = "CCCB services";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
#flake-utils.url = "github:numtide/flake-utils";
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs";
};
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -90,7 +88,9 @@
};
};
}
./configuration.nix
./hosts/matrix.nix
./services/openssh.nix
./services/nginx.nix
./services/postgres.nix
@ -102,6 +102,19 @@
./services/grafana.nix
];
};
nixosConfigurations."hedgedoc" = nixpkgs.lib.nixosSystem {
#system = "x86_64-linux";
#pkgs = import nixpkgs { inherit system; };
inherit system;
modules = [
agenix.nixosModules.default
{ environment.systemPackages = [ (agenix.packages.${system}.default) ]; }
./hosts/hedgedoc.nix
./services/openssh.nix
];
};
};
#);
}