nix/modules/system/cli/docker.nix

23 lines
412 B
Nix
Raw Normal View History

2024-10-13 17:05:00 +02:00
{ pkgs, ... }:
2024-03-20 07:44:38 +01:00
{
2024-09-12 18:39:59 +02:00
virtualisation.docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
};
};
2024-03-20 07:44:38 +01:00
users.users.xeovalyte.extraGroups = [ "docker" ];
2024-10-13 17:05:00 +02:00
security.wrappers = {
docker-rootlesskit = {
owner = "root";
group = "root";
capabilities = "cap_net_bind_service+ep";
source = "${pkgs.rootlesskit}/bin/rootlesskit";
};
};
2024-03-20 07:44:38 +01:00
}