Make things work

This commit is contained in:
2022-04-12 20:48:45 +01:00
parent e02557ba90
commit db8c182c82
2 changed files with 29 additions and 0 deletions

View File

@@ -46,9 +46,11 @@
curl
fd
firefox
fzf
gcc
git
htop
helix
ripgrep
wget
zsh
@@ -56,6 +58,10 @@
environment.homeBinInPath = true;
environment.variables = {
EDITOR = "hx";
};
programs.zsh = {
enable = true;
ohMyZsh = {

View File

@@ -0,0 +1,23 @@
{ config, pkgs, lib, ... }:
{
services.grafana = {
enable = true;
};
services.prometheus = {
enable = true;
exporters = {
};
scrapeConfigs = [
{
job_name = "synapse";
metrics_path = "/_synapse/metrics";
static_configs = [{
targets = ["localhost:9000"];
}];
}
];
};
}