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";
|
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";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue