Files
nix/hosts/common/configs/user/console/podman/default.nix
2025-02-15 00:32:16 +00:00

20 lines
371 B
Nix

{
user ? throw "user argument is required",
home ? throw "home argument is required",
}:
{ lib, pkgs, ... }:
{
home-manager.users.${user} = {
services.podman.enable = true;
home = {
packages = with pkgs; [
podman-compose
dive
];
sessionVariables.REGISTRY_AUTH_FILE = "${home}/.config/containers/auth.json";
};
};
}