ooknet/nixos/profiles/gaming.nix
2024-06-11 22:37:17 +12:00

18 lines
336 B
Nix

{ lib, config, ... }:
let
inherit (lib) mkIf;
inherit (builtins) elem;
profiles = config.ooknet.host.profiles;
in
{
config = mkIf (elem "gaming" profiles) {
ooknet.gaming = {
steam.enable = true;
gamescope.enable = true;
gamemode.enable = true;
};
ooknet.services.flatpak.enable = true;
};
}