nixos-config/modules/services/liv-town.nix

23 lines
386 B
Nix
Raw Normal View History

2024-07-17 03:19:53 +02:00
{ ... }:
{
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
# enableNvidia = true;
};
2024-07-17 11:39:42 +02:00
users.users.liv = {
2024-07-17 03:19:53 +02:00
extraGroups = [ "docker" ];
};
virtualisation.oci-containers = {
backend = "docker";
containers."livdottown" = {
image = "ghcr.io/ahwxorg/liv.town:latest";
ports = [
"4321:4321/tcp"
];
};
};
}