working on kiosk system

This commit is contained in:
Ingolf Wagner 2023-05-14 02:59:03 +02:00
parent 207fc82271
commit 5db34b518a
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
6 changed files with 33 additions and 15 deletions

View file

@ -18,26 +18,27 @@ let
};
subDomains = {
# robi
"transmission.robi" = hosts.robi;
"transmission2.robi" = hosts.robi;
"loki.robi" = hosts.robi;
"grafana.robi" = hosts.robi;
"loki.robi" = hosts.robi;
"prometheus.robi" = hosts.robi;
"sync.robi" = hosts.robi;
"transmission.robi" = hosts.robi;
"transmission2.robi" = hosts.robi;
# pepe
"loki.pepe" = hosts.pepe;
"grafana.pepe" = hosts.pepe;
"loki.pepe" = hosts.pepe;
"prometheus.pepe" = hosts.pepe;
"tts.pepe" = hosts.pepe;
"tdarr.pepe" = hosts.pepe;
"tts.pepe" = hosts.pepe;
# chungus
"loki.chungus" = hosts.chungus;
"grafana.chungus" = hosts.chungus;
"prometheus.chungus" = hosts.chungus;
"tts.chungus" = hosts.chungus;
"tdarr.chungus" = hosts.chungus;
"sync.chungus" = hosts.chungus;
"flix.chungus" = hosts.chungus;
"grafana.chungus" = hosts.chungus;
"loki.chungus" = hosts.chungus;
"prometheus.chungus" = hosts.chungus;
"sync.chungus" = hosts.chungus;
"tdarr.chungus" = hosts.chungus;
"trilium.chungus" = hosts.chungus;
"tts.chungus" = hosts.chungus;
};
network = "private";
in

View file

@ -39,6 +39,7 @@
./syncthing.nix
./kiosk.nix
#./trilium.nix
];

View file

@ -18,4 +18,5 @@
};
# make sure cage ist starting instead of getty
systemd.defaultUnit = "graphical.target";
}

View file

@ -88,7 +88,7 @@
targets = [ "localhost:19999" ];
labels = {
service = "netdata";
server = "pepe";
server = config.networking.hostName;
};
}
];
@ -99,7 +99,7 @@
targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ];
labels = {
service = "systemd-exporter";
server = "pepe";
server = config.networking.hostName;
};
}];
}
@ -109,7 +109,7 @@
targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ];
labels = {
service = "node-exporter";
server = "pepe";
server = config.networking.hostName;
};
}];
}
@ -123,7 +123,7 @@
targets = [ "localhost:8123" ];
labels = {
service = "hass";
server = "pepe";
server = config.networking.hostName;
};
}];
}

View file

@ -0,0 +1,14 @@
{ config, ... }:
{
services.trilium-server = {
enable = true;
dataDir = "/srv/trilium";
instanceName = "chungus";
host = "10.23.42.28";
noAuthentication = true;
#nginx = {
# enable = true;
# hostName = "trilium.${config.networking.hostName}.private";
#};
};
}

View file

@ -104,6 +104,7 @@ in
steam-run
bitwarden
trilium-desktop
sensu-go-cli
yq-go