task | enable kiosk mode for pi1 and display
This commit is contained in:
parent
05939c4f95
commit
c87d476243
4 changed files with 20 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
imports = [ ./hardware-configuration.nix ../server ];
|
||||
imports = [ ./hardware-configuration.nix ../server ./kiosk.nix ];
|
||||
networking.hostName = "pi1";
|
||||
}
|
||||
|
|
|
|||
9
hosts/pi1/kiosk.nix
Normal file
9
hosts/pi1/kiosk.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [ cog ];
|
||||
|
||||
services.cage = {
|
||||
enable = true;
|
||||
user = "don";
|
||||
program = "${pkgs.cog}/bin/cog http://homeassistant.home.duckland.org:8123/dashboard-pi/0";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue