mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
22 lines
390 B
Nix
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"
|
|
];
|
|
};
|
|
};
|
|
}
|