add nimble overlay

This commit is contained in:
Daylin Morgan 2024-09-04 11:51:35 -05:00
parent 7c28690527
commit 04f2b592a3
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 16 additions and 6 deletions

View file

@ -9,10 +9,20 @@ let
inherit (import ./generators.nix { inherit lib self inputs; }) mkIso mkSystem;
#supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
supportedSystems = [ "x86_64-linux" ];
forAllSystems = f: genAttrs supportedSystems (system: f (import nixpkgs {
inherit system;
overlays = [inputs.nim2nix.overlays.default];
}));
forAllSystems =
f:
genAttrs supportedSystems (
system:
f (
import nixpkgs {
inherit system;
overlays = [
inputs.nim2nix.overlays.default
(import ../overlays/nimble { inherit inputs; })
];
}
)
);
inheritFlakePkgs =
pkgs: flakes:
@ -46,7 +56,7 @@ let
oizys = pkgs.mkShell {
packages = with pkgs; [
openssl
nim
nim
nimble
];
};

View file

@ -49,8 +49,8 @@ let
nixosSystem {
system = "x86_64-linux";
modules = [
../modules/oizys.nix
../overlays
../modules/oizys.nix
inputs.lix-module.nixosModules.default
inputs.hyprland.nixosModules.default
] ++ (hostFiles hostName);