From 04f2b592a33dc11a13721f595dccc1b5c11cdcf4 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 4 Sep 2024 11:51:35 -0500 Subject: [PATCH] add nimble overlay --- lib/default.nix | 20 +++++++++++++++----- lib/generators.nix | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index b0061ef..a0d2f48 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -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 ]; }; diff --git a/lib/generators.nix b/lib/generators.nix index 60eeb1e..35a835a 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -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);