mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
19 lines
398 B
Nix
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"
|
|
# ];
|
|
# };
|
|
# };
|
|
}
|