change the import method of homeManagerModules."${unixName}" to use outputs.
This commit is contained in:
parent
6dbbce42cf
commit
750688b2b5
2 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@
|
||||||
builtins.listToAttrs (
|
builtins.listToAttrs (
|
||||||
map (name: {
|
map (name: {
|
||||||
name = name;
|
name = name;
|
||||||
value = import ./home + "/${name}/modules";
|
value = import (./home + "/${name}/modules");
|
||||||
}) (builtins.attrNames allUsers)
|
}) (builtins.attrNames allUsers)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(rootPath + "/home/${unixName}/modules")
|
outputs.homeManagerModules."${unixName}"
|
||||||
(rootPath + "/home/${unixName}/configurations/${hostName}")
|
(rootPath + "/home/${unixName}/configurations/${hostName}")
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue