poseidon: enable docker and docker-compose
This commit is contained in:
parent
72f52cd06a
commit
df3cffadaf
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue