From 66a247f37b43736c7cdc8ad07dba7cb9133ae745 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 10 Sep 2023 19:39:43 +0200 Subject: Use overlays system-wide --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 21245bc..cbad259 100644 --- a/flake.nix +++ b/flake.nix @@ -13,9 +13,10 @@ }; }; - outputs = { nixpkgs, home-manager, nix-darwin, ... }@inputs: + outputs = { self, nixpkgs, home-manager, nix-darwin, ... }@inputs: let args = { + inherit self; flakeInputs = inputs; metadata = nixpkgs.lib.importTOML ./metadata.toml; }; @@ -31,7 +32,6 @@ ./hosts/muhammed/configuration.nix ./hosts/common.nix ./home - { nixpkgs.overlays = [ (import ./pkgs/overlay.nix) ]; } # FIXME: Get the following to work without nix-darwin bithcing about unused NixOS options. # ./lib # ./modules @@ -49,7 +49,6 @@ ./hosts/ahmed/configuration.nix ./hosts/common.nix ./home - { nixpkgs.overlays = [ (import ./pkgs/overlay.nix) ]; } ./lib ./modules ./services -- cgit v1.2.3