From 1835aa04051f2f0c41017423f2bcba6c549f26b0 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 5 Jan 2025 16:19:45 -0600 Subject: overhual --- modules/root/docker.nix | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 modules/root/docker.nix (limited to 'modules/root/docker.nix') 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 ]; - }; -} -- cgit v1.2.3