Docker!
This commit is contained in:
12
system-modules/docker.nix
Normal file
12
system-modules/docker.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
lazydocker
|
||||
];
|
||||
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
users.users.nx2.extraGroups = [ "docker" ];
|
||||
users.extraGroups.docker.members = [ "username-with-access-to-socket" ];
|
||||
}
|
||||
Reference in New Issue
Block a user