ooknet/home/profiles/suites/gaming.nix

17 lines
296 B
Nix

{ osConfig, lib, ... }:
let
inherit (lib) mkIf;
inherit (builtins) elem;
profiles = osConfig.ooknet.host.profiles;
in
{
config = mkIf (elem "gaming" profiles) {
ooknet.gaming = {
wine.enable = true;
bottles.enable = true;
};
ooknet.binds.steam = "steam";
};
}