Reduce build size via config restriction

This commit is contained in:
soraefir committed 2026-06-21 22:51:54 +02:00
1 parent 798c222bd6
commit 473b290258
11 files changed
+35 -31

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
{ ... }: {
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
{ config, ... }: {
hardware.graphics.enable = config.syscfg.make.gui || config.syscfg.make.serverExtras || config.syscfg.make.game;
hardware.graphics.enable32Bit = config.syscfg.make.game;
}