podman: install systemd files

- install podman service and socket
- install podman tmpfile
This commit is contained in:
zowoq
2021-02-14 06:57:38 +10:00
parent e66ded9c50
commit 8c8d4f3398
2 changed files with 4 additions and 0 deletions
@@ -63,6 +63,9 @@ buildGoModule rec {
installShellCompletion --fish completions/fish/*
installShellCompletion --zsh completions/zsh/*
MANDIR=$man/share/man make install.man-nobuild
'' + lib.optionalString stdenv.isLinux ''
install -Dm644 contrib/tmpfile/podman.conf -t $out/lib/tmpfiles.d
install -Dm644 contrib/systemd/system/podman.{socket,service} -t $out/lib/systemd/system
'';
passthru.tests = { inherit (nixosTests) podman; };