Services: initial work on hosting a Nix binary cache on Hevana
This commit is contained in:
parent
0f59b80851
commit
741f4c6ec1
|
@ -20,6 +20,7 @@ let
|
|||
|
||||
# List of subdomains to add to the TLS certificate
|
||||
subdomains = with config.secrets.services; [
|
||||
binary-cache.url
|
||||
forgejo.url
|
||||
gremlin-lab.url
|
||||
jellyfin.url
|
||||
|
@ -119,6 +120,12 @@ in
|
|||
onCalendar = "daily";
|
||||
user = config.users.users.aires.name;
|
||||
};
|
||||
binary-cache = {
|
||||
enable = true;
|
||||
home = "${services-root}/nixos-binary-cache";
|
||||
secretKeyFile = "${services-root}/nixos-binary-cache/certs/cache-priv-key.pem";
|
||||
url = config.secrets.services.binary-cache.url;
|
||||
};
|
||||
boinc = {
|
||||
enable = false;
|
||||
home = "${services-root}/boinc";
|
||||
|
|
|
@ -1,98 +1,102 @@
|
|||
U2FsdGVkX18LODnfDsvFy4vrBY/7+8a5UJX2ydi5756jrV0GOHOP2oOzvept/krP
|
||||
epRK6iqRN73Cbo3j10fxR4YDSP5QrVYCkZInEMfY+Js68PgrAFvCIF4lVSKMrowr
|
||||
yxSo1tp/1Gm4PJXOtVVUw2gogUW46PwjkLEis6PBoKEHm/GWQ2fy8MtOKvYXjMx3
|
||||
AgPHUNCq5W6I9G8wHeYQPaRzivYkzxKPFlbKkVekkvWR1riSPVp4cRwly+/QnfW7
|
||||
dkJnu2R5EDHjvvGg7b0UsNLyE9b9Eceh2+OwTN3iQssG9uYuvbMa+vITF5o4G7I/
|
||||
k1bcbnTK+r+QdSUDBpGtenN8ehmFTvVkBekL1Dp5COVSZCP/Js8gjAg81MgpRqud
|
||||
7/XouEiQGUDpCQLqwsQwU0FSwXfcw0UI19Qj9V7aXeRSUEtFtcmfKIzmsHcfPYpF
|
||||
NMvgAcljGYNydSNnrO83Xp7l5I4LdOc2+wxWRCCVx/PINhAmZ/5Xh12dCKbc25Iz
|
||||
fLSN1lSkKXCrpS00gZImrHZQS6LmOI0dWLWT4qLnz7UbT+gmPTh05b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OBst5ovFrRVveTq
|
||||
Mkp/ddXdZSXSeUP0gOCHwuMe0Oxx1NPR+/cyGAAEB7tW11W1+Fr8jXs7Fhou/LTq
|
||||
VbBaLLeP1QgnBwOFXCFEyD1mLkiPcUZDwzXO6GanMaBtVLKxP1Gszj5c2zt7xPIf
|
||||
1XnhfKEFbXiuJYrSjQ6n6waAeQZ08Zmjbdfa80PeQyWnbBjyjcnih21ILa1l9Rg+
|
||||
7Ij1YOHOC6Ub9VvtIaLgm36Obwq4sKaYYIkXvQD2whkuWI9bXbmY0HbfdAs4JGrM
|
||||
KPEcbZGLa7I7LdjRJEnYuravbS4Vrfif/7w70MA88rIBLAwpQoX91tAEkzZ4rfIv
|
||||
gclk+vQO0v/+2eqJxeAM/c5InAmLdBWzT3KNJz3Sweq5xJEFnjSkUkQYGpH0O8T5
|
||||
mS1TT9i4kPF/pjLCY8bmsr92b+6mhrH9I2Vl+AIgz9Y+krL4Ac4BxF9wZ+Hqm7FT
|
||||
|
|
51
modules/services/binary-cache.nix
Normal file
51
modules/services/binary-cache.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.aux.system.services.binary-cache;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
aux.system.services.binary-cache = {
|
||||
enable = lib.mkEnableOption "Enable a binary cache hosting service.";
|
||||
home = lib.mkOption {
|
||||
default = "/var/lib/nix-binary-cache";
|
||||
type = lib.types.str;
|
||||
description = "Where to store the binary cache and its config files.";
|
||||
};
|
||||
secretKeyFile = lib.mkOption {
|
||||
default = "/var/lib/nix-binary-cache/privkey.pem";
|
||||
type = lib.types.str;
|
||||
description = "Where to find the binary cache's private key.";
|
||||
};
|
||||
url = lib.mkOption {
|
||||
default = "";
|
||||
type = lib.types.str;
|
||||
description = "The complete URL where the cache is hosted.";
|
||||
example = "https://cache.example.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services = {
|
||||
nix-serve = {
|
||||
enable = true;
|
||||
secretKeyFile = cfg.secretKeyFile;
|
||||
bindAddress = "127.0.0.1";
|
||||
};
|
||||
|
||||
nginx.virtualHosts."${cfg.url}" = {
|
||||
useACMEHost = pkgs.util.getDomainFromURL cfg.url;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -37,9 +37,15 @@ in
|
|||
"flakes"
|
||||
];
|
||||
|
||||
# Use Lix instead of Nix
|
||||
substituters = [ "https://cache.lix.systems" ];
|
||||
trusted-public-keys = [ "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ];
|
||||
# Set up secondary binary caches for Lix and Hevana
|
||||
substituters = [
|
||||
"https://cache.lix.systems"
|
||||
config.secrets.services.binary-cache.url
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
|
||||
config.secrets.services.binary-cache.pubcert
|
||||
];
|
||||
|
||||
# Only allow these users to use Nix
|
||||
allowed-users = with config.users.users; [
|
||||
|
|
|
@ -102,7 +102,7 @@ in
|
|||
# Tell Electron apps that they can use Wayland
|
||||
NIXOS_OZONE_WL = "1";
|
||||
# Install full GStreamer capabilities.
|
||||
# References:
|
||||
# References:
|
||||
# https://wiki.nixos.org/wiki/GStreamer
|
||||
# https://github.com/NixOS/nixpkgs/issues/195936
|
||||
GST_PLUGIN_SYSTEM_PATH_1_0 = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" (
|
||||
|
|
|
@ -18,7 +18,7 @@ in
|
|||
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf cfg.enable {
|
||||
# Add Gremlin account
|
||||
# Add Gremlin account
|
||||
users.users.gremlin = {
|
||||
isNormalUser = true;
|
||||
description = "Gremlin";
|
||||
|
|
Loading…
Reference in a new issue