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 = { subDomains = {
# robi # robi
"transmission.robi" = hosts.robi;
"transmission2.robi" = hosts.robi;
"loki.robi" = hosts.robi;
"grafana.robi" = hosts.robi; "grafana.robi" = hosts.robi;
"loki.robi" = hosts.robi;
"prometheus.robi" = hosts.robi; "prometheus.robi" = hosts.robi;
"sync.robi" = hosts.robi; "sync.robi" = hosts.robi;
"transmission.robi" = hosts.robi;
"transmission2.robi" = hosts.robi;
# pepe # pepe
"loki.pepe" = hosts.pepe;
"grafana.pepe" = hosts.pepe; "grafana.pepe" = hosts.pepe;
"loki.pepe" = hosts.pepe;
"prometheus.pepe" = hosts.pepe; "prometheus.pepe" = hosts.pepe;
"tts.pepe" = hosts.pepe;
"tdarr.pepe" = hosts.pepe; "tdarr.pepe" = hosts.pepe;
"tts.pepe" = hosts.pepe;
# chungus # 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; "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"; network = "private";
in in

View file

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

View file

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

View file

@ -88,7 +88,7 @@
targets = [ "localhost:19999" ]; targets = [ "localhost:19999" ];
labels = { labels = {
service = "netdata"; service = "netdata";
server = "pepe"; server = config.networking.hostName;
}; };
} }
]; ];
@ -99,7 +99,7 @@
targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ]; targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ];
labels = { labels = {
service = "systemd-exporter"; service = "systemd-exporter";
server = "pepe"; server = config.networking.hostName;
}; };
}]; }];
} }
@ -109,7 +109,7 @@
targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ];
labels = { labels = {
service = "node-exporter"; service = "node-exporter";
server = "pepe"; server = config.networking.hostName;
}; };
}]; }];
} }
@ -123,7 +123,7 @@
targets = [ "localhost:8123" ]; targets = [ "localhost:8123" ];
labels = { labels = {
service = "hass"; 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 steam-run
bitwarden bitwarden
trilium-desktop
sensu-go-cli sensu-go-cli
yq-go yq-go