From ef22af1ee968774f2d5558564c9c13e6b5c51085 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 8 Jun 2024 23:50:13 -0400 Subject: [PATCH] refactor: get rid of overlays in common --- common/overlays/default.nix | 8 -------- lib.nix | 7 ++++++- 2 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 common/overlays/default.nix diff --git a/common/overlays/default.nix b/common/overlays/default.nix deleted file mode 100644 index ba302ad..0000000 --- a/common/overlays/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - grim-hyprland, - nixpkgs-wayland, - ... -}: [ - grim-hyprland.overlays.default - nixpkgs-wayland.overlay -] diff --git a/lib.nix b/lib.nix index f740242..ed087d7 100644 --- a/lib.nix +++ b/lib.nix @@ -1,7 +1,9 @@ { + grim-hyprland, home-manager, nix-on-droid, nixpkgs, + nixpkgs-wayland, ... } @ inputs: rec { # Import pkgs from a nixpkgs @@ -9,7 +11,10 @@ import input { inherit system; config.allowUnfree = true; - overlays = import ./common/overlays inputs; + overlays = [ + grim-hyprland.overlays.default + nixpkgs-wayland.overlays.default + ]; }; # Function that makes the attrs that make up the specialArgs