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