Pass machine variable to user config

This commit is contained in:
Manuel Thalmann 2024-05-11 20:32:02 +02:00
parent c7d6755cb7
commit be207d6648

View file

@ -44,6 +44,8 @@
if (configPath != null) if (configPath != null)
then { then {
${username} = { pkgs, ... }@args: import configPath ({ ${username} = { pkgs, ... }@args: import configPath ({
inherit machine;
user = { user = {
name = username; name = username;
} // user; } // user;