mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix: stop starting docker socket on boot
This commit is contained in:
parent
9766683c24
commit
f0575f50b0
1 changed files with 7 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
username,
|
username,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|
@ -8,7 +9,11 @@
|
||||||
pkgs.docker-compose
|
pkgs.docker-compose
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker = {
|
||||||
virtualisation.docker.storageDriver = "btrfs";
|
enable = true;
|
||||||
|
enableOnBoot = lib.mkDefault false;
|
||||||
|
storageDriver = "btrfs";
|
||||||
|
};
|
||||||
|
|
||||||
users.extraGroups.docker.members = [username];
|
users.extraGroups.docker.members = [username];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue