mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos: docker, create docker group
This commit is contained in:
parent
6fcf8c0f63
commit
43d9f92c82
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable (mkMerge [
|
config = mkIf cfg.enable (mkMerge [
|
||||||
{ environment.systemPackages = [ pkgs.docker ];
|
{ environment.systemPackages = [ pkgs.docker ];
|
||||||
|
users.extraGroups.docker.gid = config.ids.gids.docker;
|
||||||
}
|
}
|
||||||
(mkIf cfg.socketActivation {
|
(mkIf cfg.socketActivation {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue