From d789d70da67f2c64715e9026a5eff7623bbee382 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Tue, 29 Oct 2024 22:17:49 +0100 Subject: opengl: rename to graphics --- modules/nixos/sils/graphics.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 modules/nixos/sils/graphics.nix (limited to 'modules/nixos/sils/graphics.nix') 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; + }; +} -- cgit v1.3.1