Compare commits
No commits in common. "33b6731c595c3fa198e96d0c38e925390774bab5" and "9c1e96db8dcb70b55ad091c1619ab5ba8de2ea37" have entirely different histories.
33b6731c59
...
9c1e96db8d
@ -30,8 +30,6 @@
|
|||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
# Keep buildtime dependencies
|
# Keep buildtime dependencies
|
||||||
keep-outputs = true;
|
keep-outputs = true;
|
||||||
# Build local, when caches are broken
|
|
||||||
fallback = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -225,11 +225,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1693985761,
|
"lastModified": 1681557730,
|
||||||
"narHash": "sha256-K5b+7j7Tt3+AqbWkcw+wMeqOAWyCD1MH26FPZyWXpdo=",
|
"narHash": "sha256-j2E3639kS3Qop2jQPyqWCdenZNaqIdxfoTvAHnGuAGI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0bffda19b8af722f8069d09d8b6a24594c80b352",
|
"rev": "85b081528b937df4bfcaee80c3541b58f397df8b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -77,10 +77,15 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.harmonia = {
|
services.nix-serve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.bind = "[::1]:5005";
|
port = 5005;
|
||||||
signKeyPath = config.age.secrets.nix-cache-key.path;
|
bindAddress = "127.0.0.1";
|
||||||
|
secretKeyFile = config.age.secrets.nix-cache-key.path;
|
||||||
|
# Workaround https://github.com/NixOS/nix/issues/7704#issuecomment-1409480909
|
||||||
|
package = pkgs.nix-serve-ng.override {
|
||||||
|
nix = pkgs.nixVersions.nix_2_12;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.enable = true;
|
services.nginx.enable = true;
|
||||||
@ -104,13 +109,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://[::1]:5005";
|
proxyPass = "http://127.0.0.1:5005";
|
||||||
extraConfig = ''
|
|
||||||
proxy_redirect http:// https://;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection $connection_upgrade;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user