20 lines
371 B
Nix
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";
|
|
};
|
|
};
|
|
}
|