From 184d7d6bbf4a44db7dfb246871c72d5e24c02f0c Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Wed, 1 Oct 2025 12:00:09 +0200 Subject: [PATCH] [arabasta] feat: Added docker Signed-off-by: SindreKjelsrud --- hosts/arabasta/configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/arabasta/configuration.nix b/hosts/arabasta/configuration.nix index b704c09..a3b4a85 100644 --- a/hosts/arabasta/configuration.nix +++ b/hosts/arabasta/configuration.nix @@ -46,9 +46,18 @@ users.users.sid = { isNormalUser = true; description = "sid"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "docker" ]; packages = with pkgs; []; }; + + # enable docker + virtualisation.docker.enable = true; + + # use docker without Root access (Rootless docker) + virtualisation.docker.rootless = { + enable = true; + setSocketVariable = true; + }; # Home Manager home-manager = { @@ -104,3 +113,4 @@ # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "25.05"; # Did you read the comment? } +