Add gpu-screen-recorder-ui from nixpkgs fork

This commit is contained in:
BuyMyMojo 2025-03-29 21:43:06 +11:00
parent a53bc49fa8
commit c2cb56e0bb
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
2 changed files with 13 additions and 2 deletions

View file

@ -18,6 +18,10 @@
shadps4-git.url = "./programs/shadps4";
nixpkgs-gsr-ui = {
url = "github:js6pak/nixpkgs/gpu-screen-recorder-ui/init"; # Add `/develop` to the flake URL to use nightly.
};
};
outputs =
@ -25,6 +29,7 @@
nixpkgs,
home-manager,
nixpkgs-unstable,
nixpkgs-gsr-ui,
...
}@inputs:
let
@ -39,6 +44,11 @@
config.allowUnfree = true;
};
gsr-ui = import nixpkgs-gsr-ui {
inherit system;
config.allowUnfree = true;
};
in
{
homeConfigurations."buymymojo" = home-manager.lib.homeManagerConfiguration {
@ -46,6 +56,7 @@
extraSpecialArgs = {
inherit unstable;
inherit inputs;
inherit gsr-ui;
};
# Specify your home configuration modules here, for example,

View file

@ -2,7 +2,7 @@
config,
pkgs,
unstable,
gpu-screen-recorder-ui-pkgs,
gsr-ui,
inputs,
...
}:
@ -132,8 +132,8 @@
pkgs.unityhub
pkgs.material-maker
unstable.gpu-screen-recorder
unstable.gpu-screen-recorder-gtk
gsr-ui.gpu-screen-recorder-ui
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your