add my own game to exported pkgs
This commit is contained in:
parent
09d61f5416
commit
59f3414122
|
@ -34,7 +34,6 @@
|
||||||
url = "github:catppuccin/starship";
|
url = "github:catppuccin/starship";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, self, ...} @ inputs:
|
outputs = { nixpkgs, self, ...} @ inputs:
|
||||||
|
@ -43,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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
{ default, ... }:
|
rec{
|
||||||
{
|
overlay = final: prev:
|
||||||
systems = ["x86_64-linux"];
|
let
|
||||||
|
dirContents = builtins.readDir ../pkgs;
|
||||||
perSystem = {
|
genPackage = name: {
|
||||||
pkgs,
|
inherit name;
|
||||||
inputs',
|
value = final.callPackage (../pkgs + "/${name}") { };
|
||||||
...
|
};
|
||||||
}: {
|
names = builtins.attrNames dirContents;
|
||||||
packages = {
|
in
|
||||||
_2048 = pkgs.callPackage ./2048 {};
|
builtins.listToAttrs (map genPackage names);
|
||||||
|
}
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue