dotfiles/nixcfgs/modules/nixos/services/docker.nix
2025-10-29 19:55:54 +00:00

19 lines
398 B
Nix

{config, ...}: {
virtualisation = {
docker.enable = true;
podman.enable = true;
};
users.users.js0ny = {
extraGroups = ["docker" "podman"];
};
# systemd.services.docker = {
# serviceConfig = {
# Environment = [
# "HTTP_PROXY=127.0.0.1:7897"
# "HTTPS_PROXY=127.0.0.1:7897"
# "NO_PROXY=localhost,127.0.0.1,.example.com"
# ];
# };
# };
}