diff --git a/home-manager/flake.lock b/home-manager/flake.lock index 370c37b..0d1712c 100644 --- a/home-manager/flake.lock +++ b/home-manager/flake.lock @@ -36,6 +36,22 @@ "type": "github" } }, + "gpu-screen-recorder-ui": { + "locked": { + "lastModified": 1741023597, + "narHash": "sha256-09HLLCoC6L8OEjy0mvA7F6agriHQQOGXYsOisE0b4g8=", + "owner": "js6pak", + "repo": "nixpkgs", + "rev": "5c405e5de49ffe89bcdc5b43813b31383eef6f1c", + "type": "github" + }, + "original": { + "owner": "js6pak", + "ref": "5c405e5de49ffe89bcdc5b43813b31383eef6f1c", + "repo": "nixpkgs", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -148,6 +164,7 @@ }, "root": { "inputs": { + "gpu-screen-recorder-ui": "gpu-screen-recorder-ui", "home-manager": "home-manager", "moonlight": "moonlight", "nixpkgs": "nixpkgs_2", diff --git a/home-manager/flake.nix b/home-manager/flake.nix index 0b28047..d4aed1b 100644 --- a/home-manager/flake.nix +++ b/home-manager/flake.nix @@ -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; }; diff --git a/home-manager/packages.nix b/home-manager/packages.nix index d21bcd1..7a9b37a 100644 --- a/home-manager/packages.nix +++ b/home-manager/packages.nix @@ -2,6 +2,7 @@ config, pkgs, unstable, + gpu-screen-recorder-ui-pkgs, inputs, ... }: @@ -115,12 +116,7 @@ unstable.gpu-screen-recorder unstable.gpu-screen-recorder-gtk - - # # It is sometimes useful to fine-tune packages, for example, by applying - # # overrides. You can do that directly here, just don't forget the - # # parentheses. Maybe you want to install Nerd Fonts with a limited number of - # # fonts? - # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) + gpu-screen-recorder-ui-pkgs.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 @@ -129,7 +125,7 @@ # echo "Hello, ${config.home.username}!" # '') ]; - + programs.moonlight-mod = { enable = true; # stable = { @@ -176,9 +172,9 @@ ]; }; + # === ssh === programs.ssh.enable = true; programs.ssh.addKeysToAgent = "yes"; - programs.ssh.matchBlocks = { "*" = { identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc"; @@ -198,6 +194,7 @@ }; }; + # === shells === programs.bash.enable = true; programs.fish.enable = true;