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; 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" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
supportedSystems = [ "x86_64-linux" ]; supportedSystems = [ "x86_64-linux" ];
forAllSystems = f: genAttrs supportedSystems (system: f (import nixpkgs { forAllSystems =
inherit system; f:
overlays = [inputs.nim2nix.overlays.default]; genAttrs supportedSystems (
})); system:
f (
import nixpkgs {
inherit system;
overlays = [
inputs.nim2nix.overlays.default
(import ../overlays/nimble { inherit inputs; })
];
}
)
);
inheritFlakePkgs = inheritFlakePkgs =
pkgs: flakes: pkgs: flakes:
@ -46,7 +56,7 @@ let
oizys = pkgs.mkShell { oizys = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
openssl openssl
nim nim
nimble nimble
]; ];
}; };

View file

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