This commit is contained in:
2025-04-20 11:16:39 +08:00
commit 61a1651cf0
90 changed files with 3861 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{ config, pkgs, lib, username, ... }:
{
# Enable Docker
virtualisation.docker.enable = true;
# Enable Podman
# virtualisation.podman.enable = true;
#virtualisation.podman.dockerCompat = true; # Create a `docker` alias for podman, to use it as a drop-in replacement
users.users.${username}.extraGroups = lib.mkIf config.virtualisation.docker.enable [ "docker" ];
}