weasel: add custom nix-serve

This commit is contained in:
2025-10-06 14:45:05 +02:00
parent f8a53b368d
commit 0aa846c31c

View File

@@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, pkgs, ... }:
{
imports = [
@@ -33,4 +33,21 @@
} ];
};
services.nix-serve = {
enable = true;
# Only listen locally, as we serve it via ssh
bindAddress = "127.0.0.1";
port = 5000;
package = pkgs.nix-serve-ng.overrideAttrs (oldAttrs: {
src = pkgs.fetchgit {
url = "https://jungle.bsc.es/git/abonerib/nix-serve-ng.git";
hash = "";
};
});
# secretKeyFile = config.age.secrets.nixServe.path;
# Public key:
# jungle.bsc.es:pEc7MlAT0HEwLQYPtpkPLwRsGf80ZI26aj29zMw/HH0=
};
}