caddy soluzione 2. overlay senza nixpkgs custom

This commit is contained in:
pazpi 2024-09-06 08:02:07 +02:00
parent 1903e0a6e1
commit 6602567bf9
6 changed files with 80 additions and 59 deletions

View file

@ -33,26 +33,23 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# Used for caddy plugins
nixpkgs-caddy.url = "github:jpds/nixpkgs/caddy-external-plugins";
};
outputs =
{ self
, nixpkgs
, nixos-hardware
, lix-module
, agenix
, colmena
, home-manager
, ...
{
self,
nixpkgs,
nixos-hardware,
lix-module,
agenix,
colmena,
home-manager,
...
}@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
lib = nixpkgs.lib;
caddyWithPlugins = pkgs.callPackage ./packages/caddy-pkg.nix { };
in
{