mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-07 02:06:34 +05:30
initial commit
This commit is contained in:
9
modules/virtualisation/docker.nix
Normal file
9
modules/virtualisation/docker.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ username, ... }:
|
||||
|
||||
{
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
users.users.${username}.extraGroups = [ "docker" ];
|
||||
}
|
Reference in New Issue
Block a user