diff --git a/flake.nix b/flake.nix index e182efb..0590925 100644 --- a/flake.nix +++ b/flake.nix @@ -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; + }; + }; }; }; diff --git a/pkgs/camera-streamer/package.nix b/pkgs/camera-streamer/package.nix index c051f9f..c2bf2f5 100644 --- a/pkgs/camera-streamer/package.nix +++ b/pkgs/camera-streamer/package.nix @@ -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; };