Compare commits
No commits in common. "3b0e66dc01280fad82b4ba53d717976df3a9bfd8" and "03213c838947a5f26a1b81df103c36e7ea98d3f7" have entirely different histories.
3b0e66dc01
...
03213c8389
@ -1,24 +0,0 @@
|
|||||||
Nix Cache by clerie
|
|
||||||
|
|
||||||
Public key:
|
|
||||||
|
|
||||||
cache.nix.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=
|
|
||||||
|
|
||||||
NixOS Configuration:
|
|
||||||
|
|
||||||
nix.settings = {
|
|
||||||
substituters = [
|
|
||||||
"https://cache.nix.clerie.de"
|
|
||||||
];
|
|
||||||
trusted-public-keys = [
|
|
||||||
"cache.nix.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g="
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
Try:
|
|
||||||
|
|
||||||
nix build --substituters "https://cache.nix.clerie.de" \
|
|
||||||
--trusted-public-keys "cache.nix.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=" \
|
|
||||||
"git+https://git.clerie.de/clerie/fieldpoc.git#fieldpoc"
|
|
||||||
|
|
||||||
.-*..*-.
|
|
@ -13,40 +13,9 @@
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."= /" = {
|
locations."= /" = {
|
||||||
index = "/index.txt";
|
return = ''200 'Nix Cache by clerie\n\nPublic key:\n\n nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=\n\nNixOS Configuration:\n\n nix.settings = {\n substituters = [\n "https://nix-cache.clerie.de"\n ];\n trusted-public-keys = [\n "nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g="\n ];\n }\n\nTry:\n\n nix build --substituters "https://nix-cache.clerie.de" \\\n --trusted-public-keys "nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=" \\\n "git+https://git.clerie.de/clerie/fieldpoc.git#fieldpoc"\n\n.-*..*-.' '';
|
||||||
};
|
|
||||||
locations."= /index.txt" = {
|
|
||||||
root = ./cache.nix.clerie.de;
|
|
||||||
};
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://[::1]:5005";
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_redirect http:// https://;
|
types { } default_type "text/plain; charset=utf-8";
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection $connection_upgrade;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"cache.nix.clerie.de" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."= /" = {
|
|
||||||
index = "/index.txt";
|
|
||||||
};
|
|
||||||
locations."= /index.txt" = {
|
|
||||||
root = ./cache.nix.clerie.de;
|
|
||||||
};
|
|
||||||
locations."= /nix/store/" = {
|
|
||||||
extraConfig = ''
|
|
||||||
return 404;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
locations."/nix/store/" = {
|
|
||||||
root = "/";
|
|
||||||
extraConfig = ''
|
|
||||||
autoindex on;
|
|
||||||
autoindex_exact_size off;
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
|
1
users/clerie/clerie_id-2023.pub
Normal file
1
users/clerie/clerie_id-2023.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIzEQEWeunhkzP+invKjdsZe4rbUloixa374bYEhBSA5 clerie_id
|
Loading…
Reference in New Issue
Block a user