make kiosk autoload

This commit is contained in:
Ingolf Wagner 2023-05-13 00:29:13 +02:00
parent ca24950932
commit 207fc82271
Signed by: palo
GPG key ID: 76BF5F1928B9618B
2 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,6 @@
user = "kiosk";
program = "${pkgs.firefox}/bin/firefox -kiosk -private-window http://grafana.chungus.private/d/0d1dfFU4k/default-dashboard?orgId=1&kiosk";
};
users = {
users.kiosk = {
isNormalUser = true;
@ -17,4 +16,6 @@
name = "kiosk";
};
};
# make sure cage ist starting instead of getty
systemd.defaultUnit = "graphical.target";
}

View file

@ -6,7 +6,7 @@
enable = true;
statusPage = true;
virtualHosts = {
"prometheus.pepe.private" = {
"prometheus.${config.networking.hostName}.private" = {
extraConfig = ''
allow ${config.tinc.private.subnet};
deny all;