diff --git a/home-manager/flake.nix b/home-manager/flake.nix index 6249fbc..03b963c 100644 --- a/home-manager/flake.nix +++ b/home-manager/flake.nix @@ -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, diff --git a/home-manager/packages.nix b/home-manager/packages.nix index 7436943..b5f5ecc 100644 --- a/home-manager/packages.nix +++ b/home-manager/packages.nix @@ -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