22 lines
423 B
Nix
22 lines
423 B
Nix
![]() |
{ config, pkgs, ... }: {
|
||
|
|
||
|
config = {
|
||
|
|
||
|
home-manager.users.${config.user} = { pkgs, ... }: {
|
||
|
home.packages = with pkgs; [
|
||
|
docker-compose
|
||
|
ctop
|
||
|
];
|
||
|
};
|
||
|
users.extraUsers.${config.user}.extraGroups = [ "docker" ];
|
||
|
virtualisation.docker = {
|
||
|
enable = true;
|
||
|
rootless = {
|
||
|
#enable = false;
|
||
|
enable = true;
|
||
|
setSocketVariable = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|