summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-19 17:01:15 -0700
committerFuwn <[email protected]>2024-09-19 17:01:15 -0700
commit3a2cf3ff7cee897251a0a0488426998781f416a5 (patch)
treeb9bcf29c134e4e198a97a3addefb0591894805ed /hosts
parentfonts: add meslolgs nf (diff)
downloadnixos-config-3a2cf3ff7cee897251a0a0488426998781f416a5.tar.xz
nixos-config-3a2cf3ff7cee897251a0a0488426998781f416a5.zip
himeji: replace docker with podman
Diffstat (limited to 'hosts')
-rw-r--r--hosts/himeji/default.nix9
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 = {