split/rename options, bundle vendor settings
This commit is contained in:
parent
1b7989336e
commit
3a9a7242fc
18 changed files with 109 additions and 54 deletions
|
|
@ -4,10 +4,13 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.my.desktop.gaming;
|
||||
isEnabled = config.my.desktop.enableGaming;
|
||||
in {
|
||||
imports = [];
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
options.my.desktop.enableGaming = lib.mkEnableOption "gaming with wine";
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue