no podman

This commit is contained in:
2024-11-10 13:02:48 -06:00
parent 9a6c1aa1ba
commit 445cf1d2bd
4 changed files with 14 additions and 112 deletions

View File

@@ -110,7 +110,7 @@
#hashedPasswordFile = config.sops.secrets."nathan/pass".path;
extraGroups = [
"wheel"
"podman"
"docker"
]; # Enable sudo for the user.
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
@@ -124,23 +124,9 @@
};
};
virtualisation.docker.enable = false;
virtualisation.docker.enable = true;
virtualisation.podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
virtualisation.oci-containers.backend = "podman";
environment.systemPackages = with pkgs; [
dive
podman-tui
podman-compose
arion
docker-client
];
#virtualisation.oci-containers.backend = "podman";
boot.initrd.postDeviceCommands = lib.mkAfter ''
mkdir /btrfs_tmp