flake: move options into corresponding files

This commit is contained in:
Bloxx12 2025-04-09 14:46:33 +02:00
commit 6d9dfea56f
2 changed files with 4 additions and 9 deletions

View file

@ -4,9 +4,12 @@
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
cfg = config.modules.system.programs.steam;
in {
options.modules.system.programs.steam.enable = mkEnableOption "Steam games platform";
config = mkIf cfg.enable {
programs.steam = {
enable = true;