+slash
This commit is contained in:
parent
ce168609ca
commit
2db7d8c1fd
@ -56,6 +56,7 @@ in {
|
|||||||
};
|
};
|
||||||
desktop = {
|
desktop = {
|
||||||
coding.enable = true;
|
coding.enable = true;
|
||||||
|
crypto.enable = true;
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
media.enable = true;
|
media.enable = true;
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
./littlelink.nix
|
./littlelink.nix
|
||||||
./n8n.nix
|
./n8n.nix
|
||||||
./restreamer.nix
|
./restreamer.nix
|
||||||
|
./slash.nix
|
||||||
];
|
];
|
||||||
system.activationScripts.createPodmanNetworkWeb = lib.mkAfter ''
|
system.activationScripts.createPodmanNetworkWeb = lib.mkAfter ''
|
||||||
if ! /run/current-system/sw/bin/podman network exists web; then
|
if ! /run/current-system/sw/bin/podman network exists web; then
|
||||||
|
27
hosts/m3-atlas/services/containers/slash.nix
Normal file
27
hosts/m3-atlas/services/containers/slash.nix
Normal file
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user