From 654364b9c0a137b6fa6483924a52aa5ef725a87a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Wed, 17 Jan 2024 01:39:31 +0100 Subject: [PATCH] fix: Remove overlays --- flake.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index d79c43f..3f086a8 100644 --- a/flake.nix +++ b/flake.nix @@ -68,14 +68,11 @@ # Nix files formatter (run `nix fmt`) formatter = forEachSupportedSystem ({ pkgs, ... }: pkgs.nixpkgs-fmt); - overlays = { inherit (home-config.overlays) default; }; - # Example vm configuration nixosConfigurations.vm = let system = "x86_64-linux"; - overlays = [ home-config.overlays.${system} ]; - pkgs = import nixpkgs { inherit system overlays; }; + pkgs = import nixpkgs { inherit system; }; in lib.nixosSystem { @@ -117,8 +114,6 @@ home-manager.nixosModules.home-manager ]; - nixpkgs.overlays = [ home-config.overlays.default ]; - home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.sharedModules = [ home-config.nixosModules.nixosModule ];