-
-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enable enableOffloadCmd in prime.nix only when offload is enabled
- Loading branch information
1 parent
504893e
commit d53069d
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d53069d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might consider reverting this, as the usage of the shell script harms nothing when the system is not in offload mode, but it's tricky to configure all programs to work properly under both sync and offload mode when the script is not present. For example, with this change, you'll need to have two different steam desktop files, one for when the system is in offload mode, and one for when it is not, whereas before you could just have one single desktop file, and launch steam under nvidia-offload in both sync and offload mode, and it would work fine.
d53069d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok.