service changes

This commit is contained in:
elwrcl committed 2026-10-26 10:43:12 +03:00
1 parent 33fa58528e
commit 79f04eac6f
3 files changed
+18 -11

No files matched your search

@@ -3,6 +3,12 @@
flake.nixosModules.service-docker =
{ ... }:
{
virtualisation.docker.enable = true;
# Rootless: the daemon runs as the user, so access to it isn't root
# (membership in the `docker` group of a rootful daemon would be).
# setSocketVariable points DOCKER_HOST at the user's socket.
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
};
}