From e145e6b7d6bf797c356ffb74b69c22195230f817 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Mon, 7 Oct 2024 21:30:30 +0200 Subject: [PATCH] chore: remove docker because horrible in nix --- modules/services/liv-town.nix | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 modules/services/liv-town.nix diff --git a/modules/services/liv-town.nix b/modules/services/liv-town.nix deleted file mode 100644 index 90a76f5..0000000 --- a/modules/services/liv-town.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ ... }: -{ - 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" - ]; - }; - }; -}