Refactor Home Manager modules
This commit is contained in:
parent
5229429bc4
commit
7771c88040
6 changed files with 22 additions and 29 deletions
12
nix/home/common/default.nix
Normal file
12
nix/home/common/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
outputs,
|
||||
hostname,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = builtins.attrValues outputs.homeManagerModules ++ [
|
||||
../../home/${username}/hosts/${hostname}.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue