This commit is contained in:
nx2
2024-03-22 13:12:09 +01:00
parent 312a40351d
commit b2feb47e00
3 changed files with 14 additions and 3 deletions

12
system-modules/docker.nix Normal file
View 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" ];
}