[desktop] Refactor into multiple components

This commit is contained in:
2025-02-15 10:21:22 -08:00
parent 16fa4a641c
commit d6e031efd0
11 changed files with 139 additions and 79 deletions

17
roles/desktop/gaming.nix Normal file
View File

@@ -0,0 +1,17 @@
{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.roles.desktop;
in
{
config = mkIf (cfg.enable && cfg.gaming) {
environment.systemPackages = with pkgs; [
steam
lutris
];
# Possibly other gaming specific services or settings
};
}