nixos/podman: install systemd files
- install podman service and socket - install podman tmpfile
This commit is contained in:
parent
8c8d4f3398
commit
37f1ed7ca4
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue