Use updated obs-streamfx

This commit is contained in:
asonix 2024-01-06 13:33:50 -06:00
parent 0326fbd8e0
commit 7eb343286b
3 changed files with 50 additions and 12 deletions

View file

@ -1,5 +1,23 @@
{ {
"nodes": { "nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1701680307,
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -39,16 +57,17 @@
}, },
"obs-streamfx": { "obs-streamfx": {
"inputs": { "inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1680807394, "lastModified": 1704569314,
"narHash": "sha256-boKDhfgIEwXu1RyBe5jcnykLNE4NBJYPWLpUByq+Jyc=", "narHash": "sha256-C5HHxUdYLChKswe3VN9uTnbfYqbcfqLfpJiqGDaoQ7I=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "6ae0d7a6a79439f14793fd7354b8cba6ffbbd304", "rev": "6d42e7a78e689219a844e15ff4de61f9ac86f23c",
"revCount": 7, "revCount": 9,
"type": "git", "type": "git",
"url": "https://git.asonix.dog/asonix/nix-obs-streamfx" "url": "https://git.asonix.dog/asonix/nix-obs-streamfx"
}, },
@ -63,6 +82,21 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"obs-streamfx": "obs-streamfx" "obs-streamfx": "obs-streamfx"
} }
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -14,16 +14,20 @@
}; };
}; };
outputs = { nixpkgs, home-manager, ... }@attrs: outputs = { nixpkgs, home-manager, obs-streamfx, ... }@attrs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [
overlays = [
(final: prev: { (final: prev: {
keymapp = prev.callPackage ./wally-cli {}; keymapp = prev.callPackage ./wally-cli {};
}) obs-studio-plugins = prev.obs-studio-plugins // {
]; obs-streamfx = obs-streamfx.packages.${system}.obs-streamfx;
};
})
];
}; };
in in
{ {
@ -39,7 +43,7 @@
# Optionally use extraSpecialArgs # Optionally use extraSpecialArgs
# to pass through arguments to home.nix # to pass through arguments to home.nix
extraSpecialArgs = attrs // { inherit system; }; # extraSpecialArgs = attrs // { inherit system; };
}; };
}; };
} }

View file

@ -1,4 +1,4 @@
{ config, pkgs, system, obs-streamfx, ... }: { config, pkgs, system, ... }:
let let
setIcon = '' setIcon = ''
@ -96,7 +96,7 @@ in
obs-shaderfilter obs-shaderfilter
obs-source-record obs-source-record
obs-source-switcher obs-source-switcher
obs-streamfx.obs-streamfx obs-streamfx
obs-teleport obs-teleport
obs-text-pthread obs-text-pthread
obs-transition-table obs-transition-table