Files
nix-config/modules/apps/puter/options.nix
mjallen18 7adfefae12 puter
2024-06-11 11:38:20 -05:00

53 lines
940 B
Nix

{ lib, ... }:
with lib;
{
options.nas-apps.puter = {
enable = mkEnableOption "puter docker service";
autoStart = mkOption {
type = types.bool;
default = true;
};
httpPort = mkOption {
type = types.str;
default = "4100";
};
name = mkOption {
type = types.str;
default = "puter";
};
image = mkOption {
type = types.str;
default = "ghcr.io/heyputer/puter";
};
configPath = mkOption {
type = types.str;
default = "/home/admin/ssd/ssd_app_data/puter/config";
};
dataPath = mkOption {
type = types.str;
default = "/home/admin/ssd/ssd_app_data/puter/data";
};
puid = mkOption {
type = types.str;
default = "911";
};
pgid = mkOption {
type = types.str;
default = "1000";
};
timeZone = mkOption {
type = types.str;
default = "America/Chicago";
};
};
}