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"; 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 = outputs =
@ -25,6 +29,7 @@
nixpkgs, nixpkgs,
home-manager, home-manager,
nixpkgs-unstable, nixpkgs-unstable,
nixpkgs-gsr-ui,
... ...
}@inputs: }@inputs:
let let
@ -39,6 +44,11 @@
config.allowUnfree = true; config.allowUnfree = true;
}; };
gsr-ui = import nixpkgs-gsr-ui {
inherit system;
config.allowUnfree = true;
};
in in
{ {
homeConfigurations."buymymojo" = home-manager.lib.homeManagerConfiguration { homeConfigurations."buymymojo" = home-manager.lib.homeManagerConfiguration {
@ -46,6 +56,7 @@
extraSpecialArgs = { extraSpecialArgs = {
inherit unstable; inherit unstable;
inherit inputs; inherit inputs;
inherit gsr-ui;
}; };
# Specify your home configuration modules here, for example, # Specify your home configuration modules here, for example,

View file

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