init commit

This commit is contained in:
Jermeiah S 2025-06-13 23:18:52 -04:00
commit 8f7a75814d
No known key found for this signature in database
21 changed files with 1073 additions and 0 deletions

21
overlays/default.nix Normal file
View file

@ -0,0 +1,21 @@
{ flake, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
pkgsDir = ../packages; # This must be absolute or relative to this file
# List only subdirs with default.nix
packageDirs = builtins.filter (name: builtins.pathExists (pkgsDir + "/${name}/default.nix")) (
builtins.attrNames (builtins.readDir pkgsDir)
);
in
self: super:
builtins.listToAttrs (
map (name: {
name = name;
value = self.callPackage (pkgsDir + "/${name}") { };
}) packageDirs
)