2020-11-17 01:51:13 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
virtualisation = {
|
|
|
|
docker.enable = true;
|
|
|
|
lxd = {
|
|
|
|
enable = true;
|
|
|
|
recommendedSysctlSettings = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users = {
|
|
|
|
artemis.extraGroups = [ "docker" "lxd" ];
|
|
|
|
root = {
|
2020-11-26 04:20:52 +00:00
|
|
|
subUidRanges = [{ startUid = 16777216; count = 16777216; } { startUid = config.users.users.artemis.uid; count = 1; }];
|
|
|
|
subGidRanges = [{ startGid = 16777216; count = 16777216; } { startGid = 100; count = 1; }];
|
2020-11-17 01:51:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|