gitea repo
This commit is contained in:
commit
f610209aff
66 changed files with 2439 additions and 0 deletions
21
modules/dev/docker.nix
Normal file
21
modules/dev/docker.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue