From 59a309aa20f7dadf676dd2c7e82f798f689fedba Mon Sep 17 00:00:00 2001 From: Jens Nolte <git@queezle.net> Date: Wed, 10 Feb 2021 12:21:57 +0100 Subject: [PATCH] Add home-manager --- configuration.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 36bd3b2..bf25141 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) ]; -- GitLab