From 43a6778dc0b386f32290576478d62c60034ad16f Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 19 May 2026 15:21:19 +0100 Subject: feat(remote-dev): silence podman cgroups-v1 deprecation warning Ubuntu 20.04 still defaults to cgroups v1; podman 5 emits a deprecation warning on every single invocation. Flipping the host to v2 is a reboot that affects every workload and only matters if we need rootless --memory/--cpus, so just silence the warning via the documented PODMAN_IGNORE_CGROUPSV1_WARNING env var on the home-manager side. --- remote-dev/home.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'remote-dev/home.nix') diff --git a/remote-dev/home.nix b/remote-dev/home.nix index 6ba6620..4d5a476 100644 --- a/remote-dev/home.nix +++ b/remote-dev/home.nix @@ -14,6 +14,13 @@ in home.homeDirectory = builtins.getEnv "HOME"; home.stateVersion = "25.05"; + home.sessionVariables = { + # Ubuntu 20.04 still defaults to cgroups v1; podman 5 warns on every + # invocation. Flipping to v2 is a host-level reboot (see README) and + # only matters if we need --memory/--cpus, so silence the warning. + PODMAN_IGNORE_CGROUPSV1_WARNING = "1"; + }; + # ── Packages ──────────────────────────────────────────────────────────────── # Policy: this profile carries leaf CLI tools plus editor/AI-agent # runtimes (node, uv). It must NEVER carry anything the project build -- cgit v1.3.1