mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
ready
This commit is contained in:
parent
73d096b328
commit
3b0ed14d85
36 changed files with 663 additions and 1032 deletions
10
parts/modules/dev/docker.nix
Normal file
10
parts/modules/dev/docker.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{username, pkgs, ...}: {
|
||||
environment.systemPackages = [
|
||||
pkgs.docker
|
||||
pkgs.docker-compose
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.storageDriver = "btrfs";
|
||||
users.extraGroups.docker.members = [username];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue