Refactor options.nix as separate file

This commit is contained in:
2026-08-31 00:43:07 +02:00
parent a4d8971a77
commit 4e8aea6a24
18 changed files with 266 additions and 276 deletions
-3
View File
@@ -1,8 +1,5 @@
{ config, lib, pkgs, modulesPath, ... }:
{
options.lumpiasty.gaming = lib.mkEnableOption "Enable options specific to gaming computers";
options.lumpiasty.scx = lib.mkEnableOption "Enable sched-ext";
config = lib.mkIf config.lumpiasty.gaming {
# https://github.com/NixOS/nixpkgs/blob/10e687235226880ed5e9f33f1ffa71fe60f2638a/nixos/modules/programs/steam.nix
hardware.graphics = {