Add frigate-mpv-cage to bastion
This commit is contained in:
parent
0475259e07
commit
2f65f8fcba
|
@ -0,0 +1,20 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
mpv
|
||||||
|
];
|
||||||
|
|
||||||
|
services.cage = {
|
||||||
|
enable = true;
|
||||||
|
program = "${pkgs.mpv}/bin/mpv --profile=low-latency --untimed rtsp://bastion.mlaga97.space:8554/birdseye";
|
||||||
|
user = "dotspace";
|
||||||
|
extraArguments = [ "-s" ];
|
||||||
|
environment = {
|
||||||
|
WLR_LIBINPUT_NO_DEVICES = "1"; # boot up even if no mouse/keyboard connected
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services."cage-tty1.service".after = [
|
||||||
|
"network-online.target"
|
||||||
|
"systemd-resolved.service"
|
||||||
|
];
|
||||||
|
}
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
../../features/intelgpu.nix
|
../../features/intelgpu.nix
|
||||||
../../tweaks/powersave.nix
|
../../tweaks/powersave.nix
|
||||||
|
|
||||||
|
../../features/frigate-mpv-cage.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.grub.mirroredBoots = [
|
boot.loader.grub.mirroredBoots = [
|
||||||
|
|
Loading…
Reference in New Issue