nixos/podman: install systemd files

- install podman service and socket
- install podman tmpfile
This commit is contained in:
zowoq 2021-01-29 01:22:46 +10:00
parent 8c8d4f3398
commit 37f1ed7ca4

View file

@ -105,6 +105,16 @@ in
}));
};
systemd.packages = [ cfg.package ];
systemd.services.podman.serviceConfig = {
ExecStart = [ "" "${cfg.package}/bin/podman $LOGGING system service" ];
};
systemd.sockets.podman.wantedBy = [ "sockets.target" ];
systemd.tmpfiles.packages = [ cfg.package ];
assertions = [
{
assertion = cfg.dockerCompat -> !config.virtualisation.docker.enable;