Make home-manager config for ll-latitude-e5591 build again
This commit is contained in:
parent
478d31081a
commit
83a6b1c73c
78 changed files with 236 additions and 426 deletions
20
nixos/features/frigate-mpv-cage.nix
Normal file
20
nixos/features/frigate-mpv-cage.nix
Normal file
|
@ -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"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue