moved docker-service to docker.nix

This commit is contained in:
Richie Cahill
2024-06-21 23:50:43 -04:00
parent 427054b0e3
commit 1e3ef8bbaf
3 changed files with 12 additions and 22 deletions

View File

@ -1,5 +1,17 @@
{ lib, ... }:
{
users = {
users.docker-service = {
isSystemUser = true;
group = "docker-service";
extraGroups = [ "docker" ];
uid = 600;
};
groups.docker-service = {
gid = 600;
};
};
virtualisation.docker = {
enable = lib.mkDefault true;
logDriver = "local";