!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

523 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant136 Servers

Load older messages


SenderMessageTime
21 Nov 2024
@netpleb:matrix.orgnetplebthis device was about $70 or something. I'm wondering if it would be better for me to just get a different device that you have had success getting to work? do you have a recommendation?01:00:59
@netpleb:matrix.orgnetpleb * this device was about $70 or something. I'm wondering if it would be better for me to just get a different device that you have had success getting to work with frigate? do you have a recommendation?01:01:12
@hexa:lossy.network@hexa:lossy.networkopenvino just requires an intel cpu or gpu 😄 01:01:12
@netpleb:matrix.orgnetpleb
In reply to @hexa:lossy.network
openvino just requires an intel cpu or gpu 😄
ugg...i fail that requirement currently
01:01:29
@hexa:lossy.network@hexa:lossy.networkand then there is CUDA01:02:49
@hexa:lossy.network@hexa:lossy.networkbut apparently we fail at that currently due to a too small ffmpeg variant https://github.com/NixOS/nixpkgs/issues/34411401:03:09
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/issues/188719#issuecomment-214313435001:29:45
@hexa:lossy.network@hexa:lossy.networkapparently the gasket driver is also required?01:29:56
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/issues/188719#issuecomment-209457586001:30:28
@hexa:lossy.network@hexa:lossy.networkcheck the "Frigate system config" here01:30:34
@hexa:lossy.network@hexa:lossy.networkhacky, but might work01:30:39
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/35771715:17:51
@hexa:lossy.network@hexa:lossy.networka number of frigate fixes worth test-driving15:17:59
@hexa:lossy.network@hexa:lossy.networktotally backportable, but needs testing15:23:04
@hexa:lossy.network@hexa:lossy.network * totally backportable, but needs test feedbac15:23:06
@hexa:lossy.network@hexa:lossy.network * totally backportable, but needs test feedback15:23:08
@netpleb:matrix.orgnetpleb
In reply to @hexa:lossy.network
totally backportable, but needs test feedback
thanks for looking into this further! I will give that #357717 a try and see if it works. That would be great to have it as a simple module.
17:56:48
@netpleb:matrix.orgnetpleb so to actually test this, I added to my flake: inputs.nixpkgs-frigate.url = "github:mweinelt/nixpkgs/frigate-libedgetpu"; and then have outputs = inputs@{ self, nixpkgs, nixpkgs-frigate, ...}: ... but how do I pass this down and use it in my config such that it will not conflict with the regular nixpkgs? 18:17:04
@hexa:lossy.network@hexa:lossy.networkthat is a great question18:18:17
@hexa:lossy.network@hexa:lossy.networkyou can pass inputs into specialArgs18:18:25
@hexa:lossy.network@hexa:lossy.networkthen you can consume it in every file18:19:02
@netpleb:matrix.orgnetpleb I basically get this error: error: The option hardware.edgetpu' does not exist. Definition values:And yes, here is myspecialArgs: ``` # The specialArgsparameter passes the # non-default nixpkgs instances to other nix modules specialArgs = { # To use packages from nixpkgs-stable, # we configure some parameters for it first pkgs-stable = import nixpkgs-stable { # Refer to thesystem` parameter from
# the outer scope recursively
system = system;
# To use Chrome, we need to allow the
# installation of non-free softwares.
config.allowUnfree = true;
};
pkgs-frigate = import nixpkgs-frigate {
system = system;
config.allowUnfree = true;
};
};
18:19:17
@hexa:lossy.network@hexa:lossy.networkmaybe disabledModules and import from ${nixpkgs-frigate}/modules/services/video/frigate.nix will do?18:19:22
@netpleb:matrix.orgnetpleb *

I basically get this error: error: The option hardware.edgetpu' does not exist. Definition values:And yes, here is myspecialArgs````: # The
specialArgsparameter passes the # non-default nixpkgs instances to other nix modules specialArgs = { # To use packages from nixpkgs-stable, # we configure some parameters for it first pkgs-stable = import nixpkgs-stable { # Refer to thesystem` parameter from

the outer scope recursively

system = system;

To use Chrome, we need to allow the

installation of non-free softwares.

config.allowUnfree = true;
};

pkgs-frigate = import nixpkgs-frigate {
system = system;
config.allowUnfree = true;
};
};
18:19:28
@hexa:lossy.network@hexa:lossy.networkthen import it18:19:29
@netpleb:matrix.orgnetpleb *

I basically get this error: error: The option hardware.edgetpu' does not exist. Definition values:And yes, here is myspecialArgs`:

        # The `specialArgs` parameter passes the
        # non-default nixpkgs instances to other nix modules
        specialArgs = {
          # To use packages from nixpkgs-stable,
          # we configure some parameters for it first
          pkgs-stable = import nixpkgs-stable {
            # Refer to the `system` parameter from
            # the outer scope recursively
            system = system;
            # To use Chrome, we need to allow the
            # installation of non-free softwares.
            config.allowUnfree = true;
          };
          pkgs-frigate = import nixpkgs-frigate {
            system = system;
            config.allowUnfree = true;
          };
        };
18:19:53
@hexa:lossy.network@hexa:lossy.network
import = [ "${nixpkgs-frigate}/nixos/modules/hardware/edgetpu.nix" ];
18:20:01
@hexa:lossy.network@hexa:lossy.network *
import = [ "${pkg-frigate}/nixos/modules/hardware/edgetpu.nix" ];
18:20:19
@hexa:lossy.network@hexa:lossy.network *
import = [ "${pkgs-frigate}/nixos/modules/hardware/edgetpu.nix" ];
18:20:22
@netpleb:matrix.orgnetplebok, I will try that18:20:36

Show newer messages


Back to Room ListRoom Version: 6