nix-conf/nixos-modules/asf/default.nix
2024-10-14 19:59:55 +02:00

33 lines
665 B
Nix

{ config, lib, ... }:
let
cfg = config.jopejoe1.asf;
in
{
options.jopejoe1.asf = {
enable = lib.mkEnableOption "Enable ASF";
};
config = lib.mkIf cfg.enable {
services.archisteamfarm = {
enable = true;
web-ui.enable = true;
settings = {
LicenseID = null;
SteamProtocols = 7;
#AutoSteamSaleEvent = true;
};
bots.jopejoe1 = {
username = "jopejoe1";
enabled = true;
passwordFile = null;
settings = {
#AutoSteamSaleEvent = true;
FarmingOrders = 9;
OnlineStatus = 0;
RemoteCommunication = 0;
};
};
};
};
}