From 96d049d486c1aa712042ef151ac2cb02c30f1ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Tue, 3 Mar 2026 20:49:21 +0100 Subject: [PATCH] Try to fix newuidmap exec not found --- modules/packages/podman.nix | 1 + modules/services/lib.nix | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/packages/podman.nix b/modules/packages/podman.nix index de68815..696a8f8 100644 --- a/modules/packages/podman.nix +++ b/modules/packages/podman.nix @@ -9,6 +9,7 @@ }; environment.systemPackages = with pkgs; [ + podman-compose podman-tui ]; } \ No newline at end of file diff --git a/modules/services/lib.nix b/modules/services/lib.nix index ed1403c..b14f9f9 100644 --- a/modules/services/lib.nix +++ b/modules/services/lib.nix @@ -106,8 +106,11 @@ with lib; onFailure = [ "service-failure-notify@%n.service" ]; startLimitBurst = 5; startLimitIntervalSec = 600; - path = [ pkgs.coreutils ]; + path = [ pkgs.coreutils pkgs.podman-compose ]; serviceConfig = { + Type = "exec"; + User = "numbus-admin"; + Group = "users"; TimeoutStartSec = "1000"; ExecStartPre = [ "${pkgs.bash}/bin/bash -c 'sleep $((RANDOM % ${toString startDelay}))'"