Fix docker daemon not setup
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
users.benq = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
lazygit
|
||||
lazydocker
|
||||
];
|
||||
home.stateVersion = "25.05";
|
||||
};
|
||||
|
||||
@@ -1,6 +1,17 @@
|
||||
{ config, ... }: {
|
||||
virtualisation.docker.rootless = {
|
||||
{ config, pkgs, ... }: {
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
security.wrappers = {
|
||||
docker-rootlesskit = {
|
||||
owner = "root";
|
||||
group = "root";
|
||||
capabilities = "cap_net_bind_service+ep";
|
||||
source = "${pkgs.rootlesskit}/bin/rootlesskit";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user