diff options
Diffstat (limited to 'modules/root/docker.nix')
-rw-r--r-- | modules/root/docker.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/root/docker.nix b/modules/root/docker.nix deleted file mode 100644 index 2499699..0000000 --- a/modules/root/docker.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs, lib, config, userDetails, ... }: { - 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 - ]; - - users.groups.docker.members = [ userDetails.username ]; - }; -} |