Reduce build size via config restriction

This commit is contained in:
soraefir
2026-06-21 22:51:54 +02:00
parent 798c222bd6
commit 473b290258
11 changed files with 35 additions and 31 deletions
+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;
}