diff options
Diffstat (limited to 'modules/docker.nix')
-rw-r--r-- | modules/docker.nix | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/modules/docker.nix b/modules/docker.nix deleted file mode 100644 index d4b6272..0000000 --- a/modules/docker.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, lib, config, ... }: { - options = { - docker.enable = lib.mkEnableOption "enables docker"; - docker.btrfsSupport = lib.mkEnableOption "changes docker storageDriver to btrfs"; - }; - - config = lib.mkIf config.docker.enable { - virtualisation.docker = { - enable = true; - storageDriver = lib.mkIf config.docker.btrfsSupport "btrfs"; - }; - - environment.systemPackages = with pkgs; [ - docker-compose - ]; - }; -} |