various system fixes

This commit is contained in:
Ingolf Wagner 2023-06-01 08:21:55 +02:00
parent 2ea2b8ed53
commit 6e43db6c79
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 6 additions and 17 deletions

View file

@ -13,7 +13,7 @@
./hass.nix
./hass-zigbee2mqtt.nix
./hass-mqtt.nix
./hass-wifi.nix
#./hass-wifi.nix
#./mail-fetcher.nix
@ -40,7 +40,7 @@
./sync-script.nix
./syncthing.nix
./kiosk.nix
#./kiosk.nix
./trilium.nix
];

View file

@ -69,7 +69,6 @@
#};
exporters = {
systemd.enable = true;
node = {
enable = true;
enabledCollectors = [ "systemd" ];
@ -93,16 +92,6 @@
}
];
}
{
job_name = "systemd";
static_configs = [{
targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ];
labels = {
service = "systemd-exporter";
server = config.networking.hostName;
};
}];
}
{
job_name = "node";
static_configs = [{

View file

@ -10,18 +10,18 @@
};
taskwarrior = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/taskwarrior/";
dst = "/services/taskwarrior";
src = "root@robi:/var/lib/taskserver/";
dst = "/srv/taskwarrior";
};
gitea = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/gitea/";
dst = "/services/gitea";
dst = "/srv/gitea";
};
bitwarden = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/bitwarden_rs/";
dst = "/services/bitwarden_rs";
dst = "/srv/bitwarden_rs";
};
torrent = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;