Try to fix newuidmap exec not found

This commit is contained in:
Raphaël Numbus
2026-03-03 20:49:21 +01:00
parent e09301c493
commit 96d049d486
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
podman-compose
podman-tui podman-tui
]; ];
} }
+4 -1
View File
@@ -106,8 +106,11 @@ with lib;
onFailure = [ "service-failure-notify@%n.service" ]; onFailure = [ "service-failure-notify@%n.service" ];
startLimitBurst = 5; startLimitBurst = 5;
startLimitIntervalSec = 600; startLimitIntervalSec = 600;
path = [ pkgs.coreutils ]; path = [ pkgs.coreutils pkgs.podman-compose ];
serviceConfig = { serviceConfig = {
Type = "exec";
User = "numbus-admin";
Group = "users";
TimeoutStartSec = "1000"; TimeoutStartSec = "1000";
ExecStartPre = [ ExecStartPre = [
"${pkgs.bash}/bin/bash -c 'sleep $((RANDOM % ${toString startDelay}))'" "${pkgs.bash}/bin/bash -c 'sleep $((RANDOM % ${toString startDelay}))'"