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)
then {
${username} = { pkgs, ... }@args: import configPath ({
userInfo = {
name = username;
} // user;
userConfig = {
inherit hostname username;
} // user;