diff --git a/modules/services/default.nix b/modules/services/default.nix index bddacc8..c4605ac 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -2,5 +2,7 @@ imports = [ ./traefik.nix ./homepage.nix + ./searxng.nix + ./hugo.nix ]; } diff --git a/modules/services/foundry.nix b/modules/services/foundry.nix new file mode 100644 index 0000000..e69de29 diff --git a/modules/services/homepage.nix b/modules/services/homepage.nix index da9cb7f..ea065f5 100644 --- a/modules/services/homepage.nix +++ b/modules/services/homepage.nix @@ -2,6 +2,9 @@ virtualisation.oci-containers.containers.homepage = { ports = ["3000:3000"]; image = "ghcr.io/benphelps/homepage"; - volumes = ["/home/notoh/docker/homepage:/app/config" "/var/run/docker.sock:/var/run/docker.sock:ro"]; + volumes = [ + "/home/notoh/docker/homepage:/app/config" + "/var/run/docker.sock:/var/run/docker.sock:ro" + ]; }; } diff --git a/modules/services/hugo.nix b/modules/services/hugo.nix new file mode 100644 index 0000000..fa60e40 --- /dev/null +++ b/modules/services/hugo.nix @@ -0,0 +1,10 @@ +{pkgs, ...}: { + environment.systemPackages = with pkgs; [hugo]; + virtualisation.oci-containers.containers.hugo = { + image = "klakegg/hugo:0.101.0"; + cmd = ["server" "sh"]; + volumes = [ + "/home/notoh/docker/hugo:/src" + ]; + }; +} diff --git a/modules/services/searxng.nix b/modules/services/searxng.nix new file mode 100644 index 0000000..d71cf08 --- /dev/null +++ b/modules/services/searxng.nix @@ -0,0 +1,12 @@ +{...}: { + virtualisation.oci-containers.containers.searxng = { + image = "searxng/searxng"; + ports = ["8085:8080"]; + volumes = [ + "/home/notoh/docker/searxng:/etc/searxng:rw" + ]; + environment = { + INSTANCE_NAME = "test_instance"; + }; + }; +} diff --git a/modules/services/stash.nix b/modules/services/stash.nix new file mode 100644 index 0000000..e69de29