1
0
Fork 0
nix-configuration/modules/apps/gaming.nix
2024-03-02 12:58:30 -05:00

21 lines
405 B
Nix

{ config, lib, pkgs, ... }:
# Gaming-related settings
let
cfg = config.host.apps.gaming;
in
with lib;
{
options = {
host.apps.gaming.enable = mkEnableOption (mdDoc "Enables gaming features");
};
config = mkIf cfg.enable {
services.flatpak.packages = lib.mkIf config.services.flatpak.enable [
"gg.minion.Minion"
"com.valvesoftware.Steam"
"org.firestormviewer.FirestormViewer"
];
};
}