feat: sydpkgs overlay

This commit is contained in:
2025-12-20 13:59:27 -07:00
parent ad7aaca264
commit 3bb8d7934c
5 changed files with 29 additions and 3 deletions

12
modules/home/sydpkgs.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, inputs, ... }:
let cfg = config.sydnix.sydpkgs;
in {
options.sydnix.sydpkgs = {
overlay.enable = lib.mkEnableOption "the Sydpkgs overlay";
};
config = lib.mkIf cfg.overlay.enable {
nixpkgs.overlays = [ inputs.sydpkgs.overlays.default ];
};
}