From a13f97b70e84caccb1445dfbb0bb4610539d331e Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 22 Jul 2022 00:18:31 +0200 Subject: [PATCH] home: adjust for home-manager 22.11 --- flake.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index b9df940..4662f5c 100644 --- a/flake.nix +++ b/flake.nix @@ -90,10 +90,14 @@ homeConfigurations = { max = inputs.home-manager.lib.homeManagerConfiguration { - inherit system; - homeDirectory = "/home/max"; - username = "max"; - configuration.imports = [ ./users/max/home.nix ]; + inherit pkgs; + modules = [ + { + home.homeDirectory = "/home/max"; + home.username = "max"; + } + ./users/max/home.nix + ]; extraSpecialArgs = { inherit inputs; }; }; };