mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:06:51 +01:00
33 lines
665 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|