Compare commits
2 Commits
3a36594dc9
...
polecat/du
| Author | SHA1 | Date | |
|---|---|---|---|
| 7610a9c0e1 | |||
|
|
ff57d3c043 |
@@ -54,6 +54,7 @@ with lib;
|
||||
4000 # nfs callback
|
||||
4001 # nlockmgr
|
||||
4002 # mountd
|
||||
5000 # harmonia binary cache
|
||||
20048 # mountd
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
@@ -148,6 +149,16 @@ with lib;
|
||||
};
|
||||
};
|
||||
|
||||
# Harmonia binary cache server
|
||||
# Replaces the broken k8s deployment with native NixOS service
|
||||
services.harmonia = {
|
||||
enable = true;
|
||||
signKeyPath = "/etc/harmonia/signing-key.private";
|
||||
settings = {
|
||||
bind = "[::]:5000";
|
||||
};
|
||||
};
|
||||
|
||||
# Time zone
|
||||
time.timeZone = "America/Los_Angeles"; # Adjust as needed
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"https://nix-cache.johnogle.info"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-cache.johnogle.info-1:IC5x8BxnrqkU9XqhMdDnZLtSg9Y3rBJVXhve5DJ92J0="
|
||||
"nix-cache.johnogle.info-1:G0ZGQwcSC4+4SDDFHZI/ZX3a6uFrs/5cjA5Jvaypj0I="
|
||||
];
|
||||
fallback = true;
|
||||
connect-timeout = 5;
|
||||
|
||||
Reference in New Issue
Block a user