{ lib, config, ... }: {
  config = lib.mkIf config.machines.${config.networking.hostName}.desktop.enable {
    nixpkgs.config.allowUnfree = true;

    # Enable steam
    programs.steam = {
      enable = true;
      remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
      dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
    };
  };
}
