Use overlay

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-17 21:21:52 +03:00
parent 795ea28583
commit 4330c20faf
95 changed files with 551 additions and 736 deletions

View File

@@ -1,12 +1,5 @@
{
pkgs,
inputs,
system,
...
}:
{ pkgs, ... }:
let
selfPkgs = inputs.self.packages.${system};
entrypoint = pkgs.writeTextFile {
name = "entrypoint";
executable = true;
@@ -20,7 +13,7 @@ pkgs.dockerTools.buildImage {
copyToRoot = pkgs.buildEnv {
name = "root";
paths = with selfPkgs; [
paths = with pkgs; [
entrypoint
prometheus-fail2ban-exporter
];