This commit is contained in:
Frost-Phoenix 2024-01-26 22:16:54 +01:00
parent 2cce56dbd9
commit e708d48fbd
2 changed files with 12 additions and 14 deletions

View file

@ -42,7 +42,7 @@
username = "frostphoenix"; username = "frostphoenix";
in in
{ {
# overlays.default = selfPkgs.overlay; overlays.default = selfPkgs.overlay;
nixosConfigurations = import ./modules/core/default.nix { nixosConfigurations = import ./modules/core/default.nix {
inherit self nixpkgs inputs username; inherit self nixpkgs inputs username;
}; };

View file

@ -1,14 +1,12 @@
{ rec{
systems = ["x86_64-linux"]; overlay = final: prev:
let
perSystem = { dirContents = builtins.readDir ../pkgs;
pkgs, genPackage = name: {
inputs', inherit name;
... value = final.callPackage (../pkgs + "/${name}") { };
}: { };
packages = { names = builtins.attrNames dirContents;
# instant repl with automatic flake loading in
_2048 = pkgs.callPackage ./2048 {}; builtins.listToAttrs (map genPackage names);
};
};
} }