Initial commit

This commit is contained in:
Michael Smith
2025-05-25 12:23:04 +02:00
parent 70c1e47a69
commit 7f032ce415
9 changed files with 609 additions and 0 deletions

20
machines/pinix/kiosk.nix Normal file
View File

@@ -0,0 +1,20 @@
{
config,
pkgs,
lib,
...
}: let
kiosk-command = pkgs.writeShellScriptBin "kiosk" ''
# Disable screen blanking and standby
${pkgs.xorg.xset}/bin/xset s noblank
${pkgs.xorg.xset}/bin/xset s off
${pkgs.xorg.xset}/bin/xset -dpms
# Hide mouse
${pkgs.unclutter}/bin/unclutter -idle 0.5 -root &
${pkgs.chromium}/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk https://example.com/dashboard
'';
in {
environment.systemPackages = [kiosk-command];
}