[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,21 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.home.roles.media;
in
{
options.home.roles.media = {
enable = mkEnableOption "Enable media and multimedia applications";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
# Media players and streaming
jellyfin-media-player
moonlight-qt
vlc
];
};
}