Skip to content

Commit

Permalink
flake: expose packages.* as well
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Nov 26, 2024
1 parent cc8c451 commit c7b007f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
];
imports = [
./modules/parts
./overlays
./packages
./hosts
./users
];
Expand Down
10 changes: 0 additions & 10 deletions overlays/default.nix

This file was deleted.

23 changes: 23 additions & 0 deletions packages/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ self, inputs, ... }:

{
flake.overlays.default = final: prev: {
iosevka-ft = prev.iosevka.override {
privateBuildPlan = __readFile ./patches/iosevka-ft-build-plan.toml;
set = "Ft";
};
};

perSystem =
{ lib, system, ... }:
let
pkgs = import inputs.nixpkgs {
inherit system;
allowUnfree = true;
allowUnsupportedSystem = true;
};
in
{
packages = removeAttrs (self.overlays.default pkgs pkgs) [ "lib" ];
};
}
File renamed without changes.
File renamed without changes.

0 comments on commit c7b007f

Please sign in to comment.