diff options
| author | Fuwn <[email protected]> | 2024-09-19 17:01:15 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-19 17:01:15 -0700 |
| commit | 3a2cf3ff7cee897251a0a0488426998781f416a5 (patch) | |
| tree | b9bcf29c134e4e198a97a3addefb0591894805ed /hosts | |
| parent | fonts: add meslolgs nf (diff) | |
| download | nixos-config-3a2cf3ff7cee897251a0a0488426998781f416a5.tar.xz nixos-config-3a2cf3ff7cee897251a0a0488426998781f416a5.zip | |
himeji: replace docker with podman
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/himeji/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hosts/himeji/default.nix b/hosts/himeji/default.nix index 85bf3a4..00117b2 100644 --- a/hosts/himeji/default.nix +++ b/hosts/himeji/default.nix @@ -1,4 +1,7 @@ { secrets, pkgs, ... }: +let + containerEngine = "podman"; +in { imports = [ ../../modules/nix @@ -34,16 +37,16 @@ virtualisation = { containers.enable = true; - docker.enable = true; + docker.enable = containerEngine == "docker"; podman = { - enable = false; + enable = containerEngine == "podman"; dockerCompat = true; defaultNetwork.settings.dns_enabled = true; }; oci-containers = { - backend = "docker"; # "podman" + backend = containerEngine; containers = { september = { |