This commit is contained in:
4DBug
2026-01-19 23:35:20 -06:00
parent a33c3f37be
commit 1cf8935544
2 changed files with 7 additions and 6 deletions

View File

@@ -1 +1 @@
{ desktop = false; } { desktop = true; }

View File

@@ -53,7 +53,7 @@ in
]); ]);
}; };
nvidia = if (desktop) then { nvidia = if desktop then {
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = false; powerManagement.enable = false;
@@ -290,7 +290,7 @@ in
rec { rec {
appId = "com.hytale.Launcher"; appId = "com.hytale.Launcher";
sha256 = "sha256-iBYZTbm82X+CbF9v/7pwOxxxfK/bwlBValCAVC5xgV8="; sha256 = "sha256-SUxfyovC2umZmsOj5bOTZ8WfGCpnWcz7svOESwNekV0=";
bundle = "${pkgs.fetchurl { bundle = "${pkgs.fetchurl {
url = "https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak"; url = "https://launcher.hytale.com/builds/release/linux/amd64/hytale-launcher-latest.flatpak";
inherit sha256; inherit sha256;
@@ -385,7 +385,7 @@ in
scanmem scanmem
samrewritten samrewritten
impression impression
bambu-studio
# resources # resources
mission-center mission-center
@@ -505,13 +505,14 @@ in
extraPkgs = pkgs: [ pkgs.xorg.libxshmfence pkgs.linuxPackages.nvidia_x11 ]; extraPkgs = pkgs: [ pkgs.xorg.libxshmfence pkgs.linuxPackages.nvidia_x11 ];
}) })
] else [ ] else [
bambu-studio
]); ]);
}; };
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;
cudaSupport = desktop; cudaSupport = desktop;
nvidia.acceptLicense = desktop; nvidia.acceptLicense = desktop;
}; };