From 74d6bcf11153b61253a45ff76970686a7fa5806a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Tue, 14 Mar 2023 14:10:09 +0100 Subject: [PATCH] feat: enable docker --- hosts/neodymium/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index 442bbe5..1007b1b 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -124,7 +124,7 @@ in { users.users.laurent = { isNormalUser = true; initialPassword = "laurent"; - extraGroups = [ "wheel" "video" ]; + extraGroups = [ "wheel" "video" "docker" ]; shell = pkgs.zsh; }; home-manager.users.laurent = { @@ -621,6 +621,14 @@ in { }; }; + # enable docker + virtualisation.docker = { + enable = true; + storageDriver = "btrfs"; + enableOnBoot = false; + autoPrune.enable = true; + }; + # enable ssh agent programs.ssh.startAgent = true;