Split up code to support server configuration
This commit is contained in:
1 parent
6364d8afa0
commit
fa2413f272
15 files changed
+524
-256
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user