feat(cluster): enable webUI
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
e7f4628aaa
commit
8b4ddb2c2b
3 changed files with 34 additions and 6 deletions
|
@ -37,9 +37,9 @@ in {
|
||||||
"nelim.org" = {
|
"nelim.org" = {
|
||||||
serverAliases = ["*.nelim.org"];
|
serverAliases = ["*.nelim.org"];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
tls {
|
tls {
|
||||||
dns cloudflare {$CLOUDFLARE_API_TOKEN}
|
dns cloudflare {$CLOUDFLARE_API_TOKEN}
|
||||||
resolvers 1.0.0.1
|
resolvers 1.0.0.1
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -50,6 +50,16 @@ in {
|
||||||
headscale.reverseProxy = "${clusterIP}:8085";
|
headscale.reverseProxy = "${clusterIP}:8085";
|
||||||
jelly.reverseProxy = "${nosIP}:8097";
|
jelly.reverseProxy = "${nosIP}:8097";
|
||||||
|
|
||||||
|
pcsd = {
|
||||||
|
extraConfig = ''
|
||||||
|
reverse_proxy https://${clusterIP}:2224 {
|
||||||
|
transport http {
|
||||||
|
tls_insecure_skip_verify
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# Resume builder
|
# Resume builder
|
||||||
resume.reverseProxy = "${nosIP}:3060";
|
resume.reverseProxy = "${nosIP}:3060";
|
||||||
resauth.reverseProxy = "${nosIP}:3100";
|
resauth.reverseProxy = "${nosIP}:3100";
|
||||||
|
|
|
@ -18,6 +18,7 @@ in {
|
||||||
services.pcsd = {
|
services.pcsd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBinaryCache = true;
|
enableBinaryCache = true;
|
||||||
|
enableWebUI = true;
|
||||||
|
|
||||||
clusterName = "thingies";
|
clusterName = "thingies";
|
||||||
|
|
||||||
|
|
23
flake.lock
23
flake.lock
|
@ -1355,19 +1355,36 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pcs-web-ui-src": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1706898094,
|
||||||
|
"narHash": "sha256-MkSYjztQ7AquDCTaCEDNZRLxbqZqHHGjKG0k57j+kr4=",
|
||||||
|
"owner": "ClusterLabs",
|
||||||
|
"repo": "pcs-web-ui",
|
||||||
|
"rev": "726fa9ec0c70e9c3885be4631e1dbc2de9ddec05",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ClusterLabs",
|
||||||
|
"repo": "pcs-web-ui",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pcsd": {
|
"pcsd": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_8",
|
"nixpkgs": "nixpkgs_8",
|
||||||
"nixpkgs-pacemaker": "nixpkgs-pacemaker",
|
"nixpkgs-pacemaker": "nixpkgs-pacemaker",
|
||||||
"pcs-src": "pcs-src",
|
"pcs-src": "pcs-src",
|
||||||
|
"pcs-web-ui-src": "pcs-web-ui-src",
|
||||||
"pyagentx-src": "pyagentx-src"
|
"pyagentx-src": "pyagentx-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709792437,
|
"lastModified": 1710114520,
|
||||||
"narHash": "sha256-Ify/2rUQeYnNEo6ZNXb91AiMswBgkNWDqE4qfZyBA5w=",
|
"narHash": "sha256-sfZtJDMRg2P3r/m0CPaApwD6AyB4mCI1BlArL5Jndso=",
|
||||||
"owner": "matt1432",
|
"owner": "matt1432",
|
||||||
"repo": "nixos-pcsd",
|
"repo": "nixos-pcsd",
|
||||||
"rev": "5f457d49a233dd7bb98e91ed6d1040d6e720356d",
|
"rev": "7e4cd1dd6ad8d0c86f5ecfdf4b09ae8630ad429f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Reference in a new issue