nixos/gotenberg: fix starting chromium

[Tue Aug 26 16:12:02 2025] audit: type=1326 audit(1756217587.085:126): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3124193 comm="chromium" exe="/nix/store/xrjg398ps4mkbpsz66kpjgqfzfjpm2cr-chromium-unwrapped-139.0.7258.127/libexec/chromium/chromium" sig=31 arch=c000003e syscall=330 compat=0 ip=0x7f001d2c4afb code=0x80000000
This commit is contained in:
Sandro Jäckel
2025-08-26 16:31:18 +02:00
parent 88b387f90d
commit e5143301e2

View File

@@ -303,6 +303,7 @@ in
};
serviceConfig = {
Type = "simple";
# NOTE: disable to debug chromium crashes or otherwise no coredump is created and forbidden syscalls are not being logged
DynamicUser = true;
ExecStart = "${lib.getExe cfg.package} ${lib.escapeShellArgs args}";
@@ -340,6 +341,7 @@ in
"@sandbox"
"@system-service"
"@chown"
"@pkey" # required by chromium or it crashes
];
SystemCallArchitectures = "native";