skynet: website working again
This commit is contained in:
parent
057a80356c
commit
4c99464bc4
3 changed files with 80 additions and 4 deletions
71
flake.lock
71
flake.lock
|
@ -275,6 +275,20 @@
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_8": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1689935543,
|
||||||
|
"narHash": "sha256-6GQ9ib4dA/r1leC5VUpsBo0BmDvNxLjKrX1iyL+h8mc=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "e43e2448161c0a2c4928abec4e16eae1516571bc",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
@ -283,7 +297,8 @@
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
||||||
"skynet_ldap_backend": "skynet_ldap_backend",
|
"skynet_ldap_backend": "skynet_ldap_backend",
|
||||||
"skynet_ldap_frontend": "skynet_ldap_frontend"
|
"skynet_ldap_frontend": "skynet_ldap_frontend",
|
||||||
|
"skynet_website": "skynet_website"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"simple-nixos-mailserver": {
|
"simple-nixos-mailserver": {
|
||||||
|
@ -348,6 +363,27 @@
|
||||||
"url": "https://gitlab.skynet.ie/compsoc/skynet/ldap/frontend.git"
|
"url": "https://gitlab.skynet.ie/compsoc/skynet/ldap/frontend.git"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"skynet_website": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_8",
|
||||||
|
"utils": "utils_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"host": "gitlab.skynet.ie",
|
||||||
|
"lastModified": 1689960297,
|
||||||
|
"narHash": "sha256-+43nNv4RSQMXMRGdN8xVKYs2B13w5FJtefuykYcpywM=",
|
||||||
|
"owner": "compsoc%2Fskynet",
|
||||||
|
"repo": "website",
|
||||||
|
"rev": "edd922c5b13fa1f520e8e265a3d6e4e189852b99",
|
||||||
|
"type": "gitlab"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"host": "gitlab.skynet.ie",
|
||||||
|
"owner": "compsoc%2Fskynet",
|
||||||
|
"repo": "website",
|
||||||
|
"type": "gitlab"
|
||||||
|
}
|
||||||
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
@ -378,6 +414,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1605370193,
|
"lastModified": 1605370193,
|
||||||
|
@ -428,6 +479,24 @@
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"utils_4": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1689068808,
|
||||||
|
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
@ -16,8 +16,10 @@
|
||||||
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
|
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
|
||||||
|
|
||||||
# sso.skynet.ie
|
# sso.skynet.ie
|
||||||
skynet_ldap_backend.url = "git+https://gitlab.skynet.ie/compsoc/skynet/ldap/backend.git";
|
skynet_ldap_backend.url = "git+https://gitlab.skynet.ie/compsoc/skynet/ldap/backend.git";
|
||||||
skynet_ldap_frontend.url = "git+https://gitlab.skynet.ie/compsoc/skynet/ldap/frontend.git";
|
skynet_ldap_frontend.url = "git+https://gitlab.skynet.ie/compsoc/skynet/ldap/frontend.git";
|
||||||
|
|
||||||
|
skynet_website.url = "gitlab:compsoc%2Fskynet/website?host=gitlab.skynet.ie";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs,
|
outputs = { self, nixpkgs,
|
||||||
|
@ -28,7 +30,7 @@
|
||||||
skynet_ldap_backend,
|
skynet_ldap_backend,
|
||||||
skynet_ldap_frontend,
|
skynet_ldap_frontend,
|
||||||
...
|
...
|
||||||
}:
|
}@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in {
|
in {
|
||||||
|
@ -42,6 +44,9 @@
|
||||||
system = system;
|
system = system;
|
||||||
overlays = [];
|
overlays = [];
|
||||||
};
|
};
|
||||||
|
specialArgs = {
|
||||||
|
inherit inputs;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# installed for each machine
|
# installed for each machine
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{ pkgs, lib, nodes, ... }:
|
{ pkgs, lib, nodes, inputs, ... }:
|
||||||
let
|
let
|
||||||
# name of the server, sets teh hostname and record for it
|
# name of the server, sets teh hostname and record for it
|
||||||
name = "skynet";
|
name = "skynet";
|
||||||
|
@ -80,6 +80,8 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "skynet";
|
useACMEHost = "skynet";
|
||||||
|
|
||||||
|
documentRoot = "${inputs.skynet_website.defaultPackage."x86_64-linux"}";
|
||||||
|
|
||||||
# skynet.ie/~username
|
# skynet.ie/~username
|
||||||
enableUserDir = true;
|
enableUserDir = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue