deploy NixBridge

This commit is contained in:
zimbatm 2020-08-08 14:34:29 +02:00
parent a366ea8a6e
commit ddbaa6463d
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
4 changed files with 12 additions and 0 deletions

View file

@ -24,6 +24,7 @@ in
./cache.nix ./cache.nix
./nixpkgs-update.nix ./nixpkgs-update.nix
./marvin-mk2.nix ./marvin-mk2.nix
./matterbridge.nix
../profiles/common.nix ../profiles/common.nix
../profiles/docker.nix ../profiles/docker.nix

4
build01/matterbridge.nix Normal file
View file

@ -0,0 +1,4 @@
{ ... }: {
services.matterbridge.enable = true;
services.matterbridge.configPath = "/run/keys/matterbridge.toml";
}

View file

@ -102,6 +102,13 @@ in
permissions = "0600"; permissions = "0600";
}; };
deployment.keys."matterbridge.toml" = {
text = secrets."matterbridge.toml";
user = "matterbridge";
group = "matterbridge";
permissions = "0400";
};
deployment.keys."cachix.dhall" = { deployment.keys."cachix.dhall" = {
text = secrets."cachix.dhall"; text = secrets."cachix.dhall";
destDir = "/var/lib/nixpkgs-update/cachix"; destDir = "/var/lib/nixpkgs-update/cachix";

BIN
secrets/matterbridge.toml Normal file

Binary file not shown.