diff --git a/base/users.nix b/base/users.nix index 318a4ec..26a4219 100644 --- a/base/users.nix +++ b/base/users.nix @@ -13,6 +13,7 @@ in extraGroups = [ "media" "networkmanager" + "docker" "wheel" # Enable ‘sudo’ for the user. ]; shell = pkgs.fish; diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index bd9c4f8..487f79f 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -33,6 +33,10 @@ in package = pkgs.unstable.tailscale; }; + virtualisation.docker = { + enable = true; + }; + networking.hostName = "poseidon"; # Define your hostname. networking.domain = "alarsyo.net"; @@ -158,4 +162,8 @@ in # Takes a long while to build documentation.nixos.enable = false; + + environment.systemPackages = with pkgs; [ + docker-compose + ]; }