Harden forge NBC worker runtime and MVPD selection
This commit is contained in:
parent
3402f7dab2
commit
8065860449
4 changed files with 102 additions and 3 deletions
|
|
@ -646,6 +646,7 @@ in
|
|||
SystemCallArchitectures = "native";
|
||||
ReadWritePaths =
|
||||
lib.optionals cfg.control.enable [ "/run/every-channel" ]
|
||||
++ lib.optionals isNbc [ "/tmp" ]
|
||||
++ lib.optionals isNbc [ cfg.nbc.profileDir cfg.nbc.authScreenshotDir ];
|
||||
};
|
||||
|
||||
|
|
@ -656,6 +657,7 @@ in
|
|||
EVERY_CHANNEL_NBC_CHROME_PATH = cfg.nbc.chromeBinary;
|
||||
EVERY_CHANNEL_NBC_PROFILE_DIR = cfg.nbc.profileDir;
|
||||
EVERY_CHANNEL_NBC_NO_SANDBOX = if cfg.nbc.noSandbox then "1" else "0";
|
||||
HOME = "/var/lib/every-channel";
|
||||
};
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue