add hedgedoc config
This commit is contained in:
parent
41bc2bff69
commit
a3a5cc794c
5 changed files with 212 additions and 32 deletions
23
flake.nix
23
flake.nix
|
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
#);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue