nixos-config/modules/services/liv-town.nix
2024-07-18 19:43:25 +02:00

22 lines
390 B
Nix

{ ... }:
{
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
# enableNvidia = true;
};
users.users.liv = {
extraGroups = [ "docker" ];
};
virtualisation.oci-containers = {
backend = "docker";
containers."livdottown" = {
image = "ghcr.io/ahwxorg/liv.town:latest";
ports = [
"0.0.0.0:4321:8080"
];
};
};
}