feat(systemModules): add home manager module
This commit is contained in:
parent
d6c7aafe6b
commit
c7ba713449
2 changed files with 4 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ in
|
|||
name = "ooks";
|
||||
shell = "fish";
|
||||
sshKey = key;
|
||||
homeManager = true;
|
||||
};
|
||||
hardware = {
|
||||
cpu.type = "amd";
|
||||
|
|
|
|||
|
|
@ -57,7 +57,9 @@ in
|
|||
backupFileExtension = "hm.old";
|
||||
verbose = true;
|
||||
extraSpecialArgs = { inherit inputs outputs self; };
|
||||
users.${cfg.name} = import "${self}/home/user/${cfg.name}/${host.name}";
|
||||
users.${cfg.name} = {
|
||||
imports = [ "${self}/home/user/${cfg.name}/${host.name}" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue