Add podman service.

This commit is contained in:
Kevin Baensch 2023-06-07 01:14:47 +02:00
parent 16c8e41d35
commit e821fed3ff
Signed by: derped
GPG key ID: C0F1D326C7626543
4 changed files with 19 additions and 4 deletions

View file

@ -19,7 +19,8 @@ let
extraGroups = [ "audio" "wheel" "network" ]
++ (optionals cfg.xserver.enable ["input" "video"])
++ (optionals cfg.printing.enable [ "cups" "lp" ])
++ (optional config.virtualisation.docker.enable "docker");
++ (optional (config.virtualisation.docker.enable && !config.virtualisation.podman.enable) "docker")
++ (optional config.virtualisation.podman.enable "podman");
shell = "${pkgs.zsh}/bin/zsh";
passwordFile = passPath;
# TODO: Fix for sops