diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-02-14 00:40:47 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-02-14 00:40:47 +0100 |
commit | 286f8cdbfc507fa53822ce8228fd54bf71c74ac4 (patch) | |
tree | e9ff22af545e695b03b133d017558da5f2f06f88 /nixos | |
parent | d434f1486e54e23afd5c2a590512a15b42e2e4e2 (diff) | |
parent | 9e38b82d7ce19a6f724c0830130d6f8dcf8c1738 (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/virtualisation/podman.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/podman.nix b/nixos/modules/virtualisation/podman.nix index 98da5a096d911..0223c0df1f222 100644 --- a/nixos/modules/virtualisation/podman.nix +++ b/nixos/modules/virtualisation/podman.nix @@ -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; |