From a9fa48daee1b3c9ef8f2d92cfe702f05b9446b57 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 30 Apr 2022 13:29:44 +0200 Subject: [PATCH] Fix podman exec. --- common-headless.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common-headless.nix b/common-headless.nix index 6d3152a..1c73513 100644 --- a/common-headless.nix +++ b/common-headless.nix @@ -45,6 +45,12 @@ dockerCompat = true; }; + virtualisation.containers.containersConf.settings = { + engine = { + cgroup_manager = "cgroupfs"; + }; + }; + virtualisation.containers = { registries.search = [ "docker.io" ]; }; @@ -103,7 +109,7 @@ "wireshark" ]; # shell = "${pkgs.zsh}/bin/zsh"; - shell = "/run/current-system/sw/bin/fish"; + shell = "fish"; password = if config.virtualisation != null then "" else null; };