Apparently shm_size doesn't actually exist

This commit is contained in:
niten 2023-11-28 10:52:20 -08:00
parent 7a353a621e
commit 2e0d2d014f
1 changed files with 6 additions and 6 deletions

View File

@ -191,11 +191,11 @@ in {
};
};
shm-size = mkOption {
type = str;
description = "Size of shared memory.";
default = "512mb";
};
# shm-size = mkOption {
# type = str;
# description = "Size of shared memory.";
# default = "512mb";
# };
};
config = mkIf cfg.enable {
@ -224,7 +224,7 @@ in {
"${frigateCfg}:/config/config.yml"
"${cfg.state-directory}:/media/frigate"
];
shm_size = cfg.shm-size;
# shm_size = cfg.shm-size;
devices = cfg.devices;
ports = [
"${toString cfg.ports.frigate}:5000"