make kiosk autoload

This commit is contained in:
Ingolf Wagner 2023-05-13 00:29:13 +02:00
parent ca24950932
commit 207fc82271
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 3 additions and 2 deletions

View file

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

View file

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