diff options
| author | 2026-05-19 15:21:19 +0100 | |
|---|---|---|
| committer | 2026-05-19 15:21:19 +0100 | |
| commit | 43a6778dc0b386f32290576478d62c60034ad16f (patch) | |
| tree | c6e754a8669e7bb729fb73c804003dea2de7f19b /remote-dev/home.nix | |
| parent | 2fa5bfcb240552d7787911ae2c29e71c5058246a (diff) | |
| download | dotfiles-43a6778dc0b386f32290576478d62c60034ad16f.tar.gz dotfiles-43a6778dc0b386f32290576478d62c60034ad16f.tar.bz2 dotfiles-43a6778dc0b386f32290576478d62c60034ad16f.zip | |
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.
Diffstat (limited to 'remote-dev/home.nix')
| -rw-r--r-- | remote-dev/home.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
