virtualisation.docker.enableOnBoot = false
does not work
#213974
Labels
0.kind: bug
Something is broken
virtualisation.docker.enableOnBoot = false
does not work
#213974
Describe the bug
virtualisation.docker.enableOnBoot = false
does not work. docker still starts on boot.Steps To Reproduce
Steps to reproduce the behavior:
virtualisation.docker.enableOnBoot; virtualisation.docker.enable = true;
Expected behavior
docker doesn't start on boot, wantedby not set
Screenshots
Additional context
Problem is that wantedBy is set by the systemd service file shipped with docker. nixos would have to either disable wantedby with
wantedby=
or strip it from the service fileAlso note that it has been broken for some time, so changing the default for enableOnBoot to true might make sense, since it'll prob confuse users
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: