various system fixes
This commit is contained in:
parent
2ea2b8ed53
commit
6e43db6c79
3 changed files with 6 additions and 17 deletions
|
@ -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
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -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 = [{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue