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.nix
./hass-zigbee2mqtt.nix ./hass-zigbee2mqtt.nix
./hass-mqtt.nix ./hass-mqtt.nix
./hass-wifi.nix #./hass-wifi.nix
#./mail-fetcher.nix #./mail-fetcher.nix
@ -40,7 +40,7 @@
./sync-script.nix ./sync-script.nix
./syncthing.nix ./syncthing.nix
./kiosk.nix #./kiosk.nix
./trilium.nix ./trilium.nix
]; ];

View file

@ -69,7 +69,6 @@
#}; #};
exporters = { exporters = {
systemd.enable = true;
node = { node = {
enable = true; enable = true;
enabledCollectors = [ "systemd" ]; 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"; job_name = "node";
static_configs = [{ static_configs = [{

View file

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