Increase shm size, hopefully?
This commit is contained in:
parent
0ce0a59e71
commit
7a353a621e
|
@ -190,6 +190,12 @@ in {
|
|||
"File containing password with which to authenticate to MQTT server.";
|
||||
};
|
||||
};
|
||||
|
||||
shm-size = mkOption {
|
||||
type = str;
|
||||
description = "Size of shared memory.";
|
||||
default = "512mb";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -218,6 +224,7 @@ in {
|
|||
"${frigateCfg}:/config/config.yml"
|
||||
"${cfg.state-directory}:/media/frigate"
|
||||
];
|
||||
shm_size = cfg.shm-size;
|
||||
devices = cfg.devices;
|
||||
ports = [
|
||||
"${toString cfg.ports.frigate}:5000"
|
||||
|
|
Loading…
Reference in New Issue