mirror of
https://github.com/JuLi0n21/publicConfig.git
synced 2026-04-19 16:00:08 +00:00
first commit
This commit is contained in:
14
base/docker.nix
Normal file
14
base/docker.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ baseVars,pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.docker.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker-compose
|
||||
];
|
||||
|
||||
users.users.${baseVars.username} = {
|
||||
extraGroups = [
|
||||
"docker"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user