done
This commit is contained in:
parent
117688dc4e
commit
b4cea59563
25
global/containers.nix
Normal file
25
global/containers.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
virtualisation = {
|
||||
podman.enable = true;
|
||||
oci-containers.backend = "podman";
|
||||
oci-containers.containers = {
|
||||
wsproxy = {
|
||||
login.username = "senseab";
|
||||
login.registry = "ghcr.io";
|
||||
login.passwordFile = "/var/lib/secrets/podman/ghcr.io"; # should create it manually.
|
||||
image = "ghcr.io/senseab/wsproxy:master";
|
||||
autoStart = true;
|
||||
|
||||
environment = {
|
||||
CONFIG_NO_TLS_VERIFY = "true";
|
||||
CONFIG_ADDR = "wss://dev.wetofu.me/path";
|
||||
WSPROXY_MODE = "client";
|
||||
};
|
||||
|
||||
ports = [
|
||||
"127.0.0.1:1089:1089"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -5,5 +5,6 @@
|
||||
./user-configuration.nix
|
||||
./font-configuration.nix
|
||||
./stateless-configuration.nix
|
||||
./containers.nix
|
||||
];
|
||||
}
|
||||
|
@ -89,28 +89,4 @@
|
||||
light.enable = true;
|
||||
dconf.enable = true;
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
podman.enable = true;
|
||||
oci-containers.backend = "podman";
|
||||
oci-containers.containers = {
|
||||
wsproxy = {
|
||||
login.username = "senseab";
|
||||
login.registry = "ghcr.io";
|
||||
login.passwordFile = "/var/lib/secrets/podman/ghcr.io"; # should create it manually.
|
||||
image = "ghcr.io/senseab/wsproxy:master";
|
||||
autoStart = true;
|
||||
|
||||
environment = {
|
||||
CONFIG_NO_TLS_VERIFY = "true";
|
||||
CONFIG_ADDR = "wss://dev.wetofu.me/path";
|
||||
WSPROXY_MODE = "client";
|
||||
};
|
||||
|
||||
ports = [
|
||||
"127.0.0.1:1089:1089"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user