mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-16 21:38:18 +00:00
Added support for build, image, and volume quadlets Resolved test failures due to podman 5.3.0 upgrade Replaced several instances of pkgs.podman with services.podman.package
18 lines
425 B
Nix
18 lines
425 B
Nix
{
|
|
imports = [ ./podman-stubs.nix ];
|
|
|
|
services.podman = {
|
|
enable = true;
|
|
images = { "my-img" = { image = "docker.io/alpine:latest"; }; };
|
|
};
|
|
|
|
nmt.script = ''
|
|
configPath=home-files/.config/systemd/user
|
|
imageFile=$configPath/podman-my-img-image.service
|
|
assertFileExists $imageFile
|
|
|
|
imageFile=$(normalizeStorePaths $imageFile)
|
|
|
|
assertFileContent $imageFile ${./image-expected.service}
|
|
'';
|
|
}
|