adds docker to dnsc-vps-sm
This commit is contained in:
parent
1736bb1e6d
commit
c93db5a8f0
3 changed files with 34 additions and 11 deletions
11
modules/docker/default.nix
Normal file
11
modules/docker/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
virtualization.docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
|
||||
users.users.dennis.extraGroups = [ "docker" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue