From 8e7233cc43a7ef27f81a3b6635bf1782f85235e9 Mon Sep 17 00:00:00 2001 From: Riley Apeldoorn Date: Sat, 24 Jun 2023 10:08:48 +0200 Subject: [PATCH] Enable Docker --- shared/core/default.nix | 1 + shared/core/docker.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 shared/core/docker.nix diff --git a/shared/core/default.nix b/shared/core/default.nix index c2e68bf..d3fc07d 100644 --- a/shared/core/default.nix +++ b/shared/core/default.nix @@ -5,6 +5,7 @@ imports = [ ./services.nix ./backups.nix + ./docker.nix ./users.nix ./gui.nix ./nix.nix diff --git a/shared/core/docker.nix b/shared/core/docker.nix new file mode 100644 index 0000000..05eb8d5 --- /dev/null +++ b/shared/core/docker.nix @@ -0,0 +1,11 @@ +{ ... }: { + + virtualisation.docker = { + enable = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; + +}