From 396efda36aa9549e0802f0570ea8a206d760d75b Mon Sep 17 00:00:00 2001 From: Random936 Date: Fri, 14 Jun 2024 12:56:18 -0700 Subject: [PATCH] Added docker to nix config --- home-manager/nixos-home.nix | 1 + nixos/configuration.nix | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home-manager/nixos-home.nix b/home-manager/nixos-home.nix index 498e1eb..0c3a7da 100644 --- a/home-manager/nixos-home.nix +++ b/home-manager/nixos-home.nix @@ -14,6 +14,7 @@ home.packages = with pkgs; [ feh dconf + docker discord pavucontrol google-chrome diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 4430c6f..2526ad4 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -93,12 +93,15 @@ syntaxHighlighting.enable = true; }; + # Docker configuration + virtualisation.docker.enable = true; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.random = { isNormalUser = true; useDefaultShell = true; description = "random"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "docker" ]; packages = with pkgs; []; };