From 89f7f41c43c8b9183230cdbbdde7c990faa677cb Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sun, 13 Feb 2022 18:23:22 +0100 Subject: enable docker --- nixos/services.nix | 4 +++- nixos/users.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/services.nix b/nixos/services.nix index 19f61ff..665477c 100644 --- a/nixos/services.nix +++ b/nixos/services.nix @@ -14,8 +14,10 @@ # Update the system. @daily root ${pkgs.nix}/bin/nix-channel --update; ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch # Update virtual environments - @daily qaristote find /home/qaristote -type d -name .nix-gc-roots -execdir ${pkgs.direnv}/bin/direnv reload \; + @daily qaristote find /home/qaristote -type d -name .nix-gc-roots -execdir ${pkgs.direnv}/bin/direnv exec . true \; ''; }; }; + + virtualisation.docker.enable = true; } diff --git a/nixos/users.nix b/nixos/users.nix index f9254a7..2b1a630 100644 --- a/nixos/users.nix +++ b/nixos/users.nix @@ -8,6 +8,7 @@ in { "wheel" # Enable ‘sudo’ for the user. "audio" "networkmanager" + "docker" ]; }; -- cgit v1.2.3