blackadder: fix docker size and permissions
parent
de857eaeca
commit
e3a579d345
|
@ -47,11 +47,16 @@ in
|
||||||
# packages = with pkgs; [
|
# packages = with pkgs; [
|
||||||
# git cmake gnumake gcc python3 python3.pkgs.pip screen vim
|
# git cmake gnumake gcc python3 python3.pkgs.pip screen vim
|
||||||
# ];
|
# ];
|
||||||
|
extraGroups = [ "docker" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# docker
|
# docker
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
enableNvidia = true;
|
||||||
|
storageDriver = "overlay2";
|
||||||
|
};
|
||||||
users.users.yorick.extraGroups = [ "docker" ];
|
users.users.yorick.extraGroups = [ "docker" ];
|
||||||
|
|
||||||
nix.optimise.automatic = true;
|
nix.optimise.automatic = true;
|
||||||
|
|
Loading…
Reference in New Issue