Add gpu-screen-recorder-ui (Not merged into main nixpkgs yet)

This commit is contained in:
BuyMyMojo 2025-03-26 15:11:46 +11:00
parent 8a343bdd1d
commit 500c26f0b7
3 changed files with 34 additions and 8 deletions

View file

@ -15,6 +15,11 @@
url = "github:moonlight-mod/moonlight"; # Add `/develop` to the flake URL to use nightly.
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
gpu-screen-recorder-ui = {
url = "github:js6pak/nixpkgs?ref=5c405e5de49ffe89bcdc5b43813b31383eef6f1c";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
outputs =
@ -22,6 +27,7 @@
nixpkgs,
home-manager,
nixpkgs-unstable,
gpu-screen-recorder-ui,
...
}@inputs:
let
@ -35,11 +41,17 @@
inherit system;
config.allowUnfree = true;
};
gpu-screen-recorder-ui-pkgs = import gpu-screen-recorder-ui {
inherit system;
config.allowUnfree = true;
};
in
{
homeConfigurations."buymymojo" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit gpu-screen-recorder-ui-pkgs;
inherit unstable;
inherit inputs;
};