diff --git a/home/m3tam3re/m3-ares.nix b/home/m3tam3re/m3-ares.nix index 0aa078f..834974f 100644 --- a/home/m3tam3re/m3-ares.nix +++ b/home/m3tam3re/m3-ares.nix @@ -56,6 +56,7 @@ in { }; desktop = { coding.enable = true; + crypto.enable = true; gaming.enable = true; hyprland.enable = true; media.enable = true; diff --git a/hosts/m3-atlas/services/containers/default.nix b/hosts/m3-atlas/services/containers/default.nix index 9e431aa..e4eb3ce 100644 --- a/hosts/m3-atlas/services/containers/default.nix +++ b/hosts/m3-atlas/services/containers/default.nix @@ -5,6 +5,7 @@ ./littlelink.nix ./n8n.nix ./restreamer.nix + ./slash.nix ]; system.activationScripts.createPodmanNetworkWeb = lib.mkAfter '' if ! /run/current-system/sw/bin/podman network exists web; then diff --git a/hosts/m3-atlas/services/containers/slash.nix b/hosts/m3-atlas/services/containers/slash.nix new file mode 100644 index 0000000..9942add --- /dev/null +++ b/hosts/m3-atlas/services/containers/slash.nix @@ -0,0 +1,27 @@ +{ + virtualisation.oci-containers.containers."slash" = { + image = "docker.io/yourselfhosted/slash:latest"; + ports = ["127.0.0.1:3010:5231"]; + volumes = [ + "slash_data:/var/opt/slash" + ]; + extraOptions = ["--ip=10.89.0.15" "--network=web"]; + }; + # Traefik configuration specific to littlelink + services.traefik.dynamicConfigOptions.http = { + services.slash.loadBalancer.servers = [ + { + url = "http://localhost:3010/"; + } + ]; + + routers.slash = { + rule = "Host(`l.m3ta.dev`)"; + tls = { + certResolver = "godaddy"; + }; + service = "slash"; + entrypoints = "websecure"; + }; + }; +}