diff --git a/configuration.nix b/configuration.nix index 36bd3b2625c9e36b228a2107a3d376a234ffe970..bf25141501b05440e515d67b79a79be34cb57fe6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,5 +1,5 @@ # This is the entry point for my NixOS configuration. -{ name, path, channel, isIso, extraLayersDir }: +{ name, path, channel, isIso, extraLayersDir, flakeInputs, flakeOutputs }: { lib, config, pkgs, ... }: let @@ -44,8 +44,15 @@ in ./modules (path + "/configuration.nix") normalSystemConfiguration + flakeInputs.homemanager.nixosModules.home-manager ] ++ layerImports; + home-manager = { + useGlobalPkgs = true; + # disable home-managers usage of nix-env + useUserPackages = true; + }; + _module.args.isIso = lib.mkDefault false; nixpkgs.overlays = [ (import ./pkgs) ];