[desktop] Refactor into multiple components
This commit is contained in:
17
roles/desktop/gaming.nix
Normal file
17
roles/desktop/gaming.nix
Normal 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
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user