init docker

Former-commit-id: 4657ca3d75
This commit is contained in:
Hadi
2024-10-28 12:56:55 +01:00
parent 8b4fae6767
commit 442a0ad2b8
2 changed files with 5 additions and 0 deletions

4
nixos/docker.nix Normal file
View File

@@ -0,0 +1,4 @@
{ config, ... }: {
virtualisation.docker.enable = true;
users.users."${config.var.username}".extraGroups = [ "docker" ];
}