mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds liv.town
This commit is contained in:
parent
2093da9d90
commit
a77137731d
1 changed files with 22 additions and 0 deletions
22
modules/services/liv-town.nix
Normal file
22
modules/services/liv-town.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ ... }:
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
# enableNvidia = true;
|
||||
};
|
||||
|
||||
user.users.liv = {
|
||||
extraGroups = [ "docker" ];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers."livdottown" = {
|
||||
image = "ghcr.io/ahwxorg/liv.town:latest";
|
||||
ports = [
|
||||
"4321:4321/tcp"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue