From 8de90abbfa53a0e5c795039ca8109b94e6da22d4 Mon Sep 17 00:00:00 2001 From: Christian Ott Date: Sun, 23 Jun 2024 10:25:05 +0200 Subject: [PATCH] add docker --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 2117886..fded6c5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -106,13 +106,17 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.chrigi = { isNormalUser = true; - extraGroups = [ "wheel" "networkmanager"]; + extraGroups = [ "wheel" "networkmanager" "docker"]; initialPassword = "password"; packages = with pkgs; [ firefox tree ]; }; + virtualisation.docker = { + enable = true; + storageDriver = "btrfs"; + }; xdg.portal = { enable = true; extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];