system/docker: init
This commit is contained in:
parent
09aceb18f4
commit
12a1843587
3 changed files with 15 additions and 0 deletions
13
modules/system/docker.nix
Normal file
13
modules/system/docker.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
storageDriver = "btrfs";
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
environment.systemPackages = [
|
||||
pkgs.docker-compose
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue