Add the userInfo
variable to the system-wide home-manager
This commit is contained in:
parent
0c5c3ee951
commit
749bdf08c6
|
@ -44,6 +44,10 @@
|
||||||
if (configPath != null)
|
if (configPath != null)
|
||||||
then {
|
then {
|
||||||
${username} = { pkgs, ... }@args: import configPath ({
|
${username} = { pkgs, ... }@args: import configPath ({
|
||||||
|
userInfo = {
|
||||||
|
name = username;
|
||||||
|
} // user;
|
||||||
|
|
||||||
userConfig = {
|
userConfig = {
|
||||||
inherit hostname username;
|
inherit hostname username;
|
||||||
} // user;
|
} // user;
|
||||||
|
|
Loading…
Reference in a new issue