gpu settings

This commit is contained in:
2026-08-29 16:14:32 +09:00
parent 2cb7e76ca1
commit 9a38e9f614
5 changed files with 39 additions and 60 deletions
+7 -10
View File
@@ -1,18 +1,15 @@
{
lib,
inputs,
pkgs,
...
}: {
}:
let
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
programs.vesktop = {
enable = true;
package =
if pkgs.stdenv.hostPlatform.isLinux then
pkgs.vesktop.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./vesktop-webrtc-ip-handling-policy.patch ];
})
else
pkgs.vesktop;
package = unstable.vesktop;
settings = {
discordBranch = "stable";