nix flake update

This commit is contained in:
2026-07-06 01:56:06 +03:00
parent 7cbdd5860b
commit 5dd7a585a5
14 changed files with 131 additions and 64 deletions
+25
View File
@@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
{
services = {
nix-serve = {
enable = true;
package = pkgs.nix-serve-ng;
openFirewall = true;
port = 5000;
bindAddress = "0.0.0.0";
secretKeyFile = config.sops.secrets.private-key.path;
};
};
sops.secrets = {
private-key = {
key = "private-key";
sopsFile = ./secrets/nix-serve.yaml;
mode = "0600";
};
};
}