blob: a0cd2d18befa7df6e6b2859b423a5f14be56b86f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ config, lib, pkgs, ... }: {
systemd.user.services.docker = {
Unit.Description = "Docker Application Container Engine (Rootless)";
Service = {
ExecStart =
"${config.home.profileDirectory}/bin/dockerd-rootless --experimental --storage-driver=overlay2";
ExecReload = "/bin/kill -s HUP $MAINPID";
TimeoutSec = "0";
RestartSec = "2";
Restart = "always";
StartLimitBurst = "3";
StartLimitInterval = "60s";
LimitNOFILE = "infinity";
LimitNPROC = "infinity";
LimitCORE = "infinity";
TasksMax = "infinity";
Delegate = "yes";
Type = "simple";
};
Install.WantedBy = [ "default.target" ];
};
}
|