diff --git a/flake.nix b/flake.nix index 062de7c..ce90292 100644 --- a/flake.nix +++ b/flake.nix @@ -181,7 +181,7 @@ builtins.listToAttrs ( map (name: { name = name; - value = import ./home + "/${name}/modules"; + value = import (./home + "/${name}/modules"); }) (builtins.attrNames allUsers) ) ); diff --git a/nixos/modules/home.nix b/nixos/modules/home.nix index 138f552..343abf7 100644 --- a/nixos/modules/home.nix +++ b/nixos/modules/home.nix @@ -47,7 +47,7 @@ { ... }: { imports = [ - (rootPath + "/home/${unixName}/modules") + outputs.homeManagerModules."${unixName}" (rootPath + "/home/${unixName}/configurations/${hostName}") ]; }