poseidon: enable docker and docker-compose

This commit is contained in:
Antoine Martin 2021-07-12 17:14:52 +02:00
parent 72f52cd06a
commit df3cffadaf
2 changed files with 9 additions and 0 deletions

View file

@ -13,6 +13,7 @@ in
extraGroups = [ extraGroups = [
"media" "media"
"networkmanager" "networkmanager"
"docker"
"wheel" # Enable sudo for the user. "wheel" # Enable sudo for the user.
]; ];
shell = pkgs.fish; shell = pkgs.fish;

View file

@ -33,6 +33,10 @@ in
package = pkgs.unstable.tailscale; package = pkgs.unstable.tailscale;
}; };
virtualisation.docker = {
enable = true;
};
networking.hostName = "poseidon"; # Define your hostname. networking.hostName = "poseidon"; # Define your hostname.
networking.domain = "alarsyo.net"; networking.domain = "alarsyo.net";
@ -158,4 +162,8 @@ in
# Takes a long while to build # Takes a long while to build
documentation.nixos.enable = false; documentation.nixos.enable = false;
environment.systemPackages = with pkgs; [
docker-compose
];
} }