10 lines
270 B
Nix
10 lines
270 B
Nix
|
{ pkgs, config, ... }: {
|
||
|
# enable rootless docker for more security
|
||
|
virtualisation.docker.rootless = {
|
||
|
enable = true;
|
||
|
setSocketVariable = true;
|
||
|
};
|
||
|
# regulary clean unused docker images
|
||
|
virtualisation.docker.autoPrune.enable = true;
|
||
|
}
|