53 lines
938 B
Nix
53 lines
938 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 = "/media/nas/ssd/ssd_app_data/puter/config";
|
|
};
|
|
|
|
dataPath = mkOption {
|
|
type = types.str;
|
|
default = "/media/nas/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";
|
|
};
|
|
};
|
|
}
|