Reduce build size via config restriction
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user