[home] Refactor into roles

This commit is contained in:
2025-09-07 11:24:23 -07:00
parent a90b30eb1c
commit fb9dd66cf4
18 changed files with 528 additions and 227 deletions

View File

@@ -0,0 +1,20 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.home.roles.gaming;
in
{
options.home.roles.gaming = {
enable = mkEnableOption "Enable gaming applications and tools";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
# Gaming applications would go here
# This role is created for future expansion
# moonlight-qt is currently in media role but could be moved here
];
};
}