format
This commit is contained in:
parent
e7f3e1ba7c
commit
8131132c49
12 changed files with 28 additions and 43 deletions
|
|
@ -111,5 +111,4 @@ in {
|
|||
};
|
||||
|
||||
services.prometheus.exporters.node.enable = true;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
{config, ...}:
|
||||
let
|
||||
{config, ...}: let
|
||||
cfg = config.services.forgejo;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
dump.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
{config, ...}:
|
||||
let
|
||||
{config, ...}: let
|
||||
cfg = config.services.grafana;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{config,...}:
|
||||
{
|
||||
{config, ...}: {
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
network.listenAddress = "0.0.0.0";
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ let
|
|||
add_header Access-Control-Allow-Origin *;
|
||||
return 200 '${builtins.toJSON data}';
|
||||
'';
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.matrix-synapse = {
|
||||
enable = false; # using podman for the moment
|
||||
};
|
||||
|
|
@ -20,26 +19,26 @@ in
|
|||
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown {
|
||||
"m.homeserver".base_url = "https://${fqdn}";
|
||||
"org.matrix.msc3575.proxy"."url" = "https://${fqdn}";
|
||||
};
|
||||
};
|
||||
locations."= /.well-known/matrix/support".extraConfig = mkWellKnown {
|
||||
admins = [{
|
||||
matrix_id = "@tristan:tristans.cloud";
|
||||
email_address = "tristan@tristans.cloud";
|
||||
role = "admin";
|
||||
}];
|
||||
};
|
||||
admins = [
|
||||
{
|
||||
matrix_id = "@tristan:tristans.cloud";
|
||||
email_address = "tristan@tristans.cloud";
|
||||
role = "admin";
|
||||
}
|
||||
];
|
||||
};
|
||||
locations."/_matrix".proxyPass = "http://localhost:8008";
|
||||
locations."/_synapse/client".proxyPass = "http://localhost:8008";
|
||||
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass =
|
||||
"http://localhost:8009";
|
||||
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://localhost:8009";
|
||||
};
|
||||
${fqdn} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/_matrix".proxyPass = "http://localhost:8008";
|
||||
locations."/_synapse/client".proxyPass = "http://localhost:8008";
|
||||
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass =
|
||||
"http://localhost:8009";
|
||||
locations."/_matrix/client/unstable/org.matrix.msc3575/sync".proxyPass = "http://localhost:8009";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
{config, ...}:
|
||||
let
|
||||
{config, ...}: let
|
||||
cfg = config.services.vaultwarden;
|
||||
domain = "vault.tristans.cloud";
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -79,5 +79,4 @@ in {
|
|||
nerdfonts
|
||||
interalia
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue