Add deploy step and update camera-streamer

This commit is contained in:
Jordan Holt 2024-08-05 17:55:10 +01:00
parent 5903eb650a
commit be105b8565
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
2 changed files with 24 additions and 15 deletions

View File

@ -148,14 +148,22 @@
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.vps1;
};
};
# pi = {
# hostname = "10.0.1.191";
#
# profiles.system = {
# user = "root";
# path = deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.pi;
# };
# };
pi = {
hostname = "10.0.1.191";
profiles.system = {
user = "root";
path = deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.pi;
};
};
skycam = {
hostname = "10.0.1.146";
profiles.system = {
user = "root";
path = deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.skycam;
};
};
};
};

View File

@ -1,5 +1,5 @@
{ stdenv
, fetchFromGitHub
, fetchFromGitea
, cmake
, gnumake
@ -12,9 +12,9 @@
, ffmpeg
, libcameraSupport ? true
, libcamera
, rtspSupport ? true
, rtspSupport ? false
, live555
, webrtcSupport ? true
, webrtcSupport ? false
, openssl
, lib
@ -24,11 +24,12 @@ stdenv.mkDerivation (finalAttrs: {
pname = "camera-streamer";
version = "0.2.8";
src = fetchFromGitHub {
owner = "ayufan";
src = fetchFromGitea {
domain = "git.vimium.com";
owner = "jordan";
repo = "camera-streamer";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-8vV8BMFoDeh22I1/qxk6zttJROaD/lrThBxXHZSPpT4=";
rev = "464f05172c725b4b302464eecdb8b6e85fda6e84";
hash = "sha256-IkLR/oozYU+hfpct+GXej2T3GEhauQtqwWOcrQAErbM=";
fetchSubmodules = true;
};