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";
|
name = "ooks";
|
||||||
shell = "fish";
|
shell = "fish";
|
||||||
sshKey = key;
|
sshKey = key;
|
||||||
|
homeManager = true;
|
||||||
};
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
cpu.type = "amd";
|
cpu.type = "amd";
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,9 @@ in
|
||||||
backupFileExtension = "hm.old";
|
backupFileExtension = "hm.old";
|
||||||
verbose = true;
|
verbose = true;
|
||||||
extraSpecialArgs = { inherit inputs outputs self; };
|
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