Add the userInfo variable to the system-wide home-manager

This commit is contained in:
Manuel Thalmann 2024-05-11 20:14:08 +02:00
parent 0c5c3ee951
commit 749bdf08c6

View file

@ -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;