Split up code to support server configuration

This commit is contained in:
Jan-Bulthuis committed 2025-04-16 13:54:14 +02:00
1 parent 6364d8afa0
commit fa2413f272
15 files changed
+524 -256

No files matched your search

+8 -1
View File
@@ -5,8 +5,15 @@
...
}:
with lib;
let
cfg = config.modules.fontconfig;
in
{
config = {
options.modules.graphics = {
enable = mkEnableOption "graphics";
};
config = mkIf cfg.enable {
# TODO: Modularize further, especially modesetting should be its own module.
# Set up graphics
hardware.graphics.enable32Bit = true;