diff options
| author | Silas Schöffel <sils@sils.li> | 2024-10-29 22:17:49 +0100 |
|---|---|---|
| committer | Silas Schöffel <sils@sils.li> | 2024-10-29 22:32:23 +0100 |
| commit | d789d70da67f2c64715e9026a5eff7623bbee382 (patch) | |
| tree | 3b07f02be38922fa064bf92e37af193bc14270f2 /modules/nixos/sils/graphics.nix | |
| parent | basesystem: disable everything interfering with disko (diff) | |
| download | nix-config-d789d70da67f2c64715e9026a5eff7623bbee382.zip | |
opengl: rename to graphics
Diffstat (limited to 'modules/nixos/sils/graphics.nix')
| -rw-r--r-- | modules/nixos/sils/graphics.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/nixos/sils/graphics.nix b/modules/nixos/sils/graphics.nix new file mode 100644 index 0000000..77f58d8 --- /dev/null +++ b/modules/nixos/sils/graphics.nix @@ -0,0 +1,12 @@ +{ + lib, + config, + ... +}: let + cfg = config.sils.graphics; +in { + options.sils.graphics.enable = lib.mkEnableOption "graphics"; + config = lib.mkIf cfg.enable { + hardware.graphics.enable = true; + }; +} |
