make kiosk autoload
This commit is contained in:
parent
ca24950932
commit
207fc82271
2 changed files with 3 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue