Pass machine
variable to user config
This commit is contained in:
parent
c7d6755cb7
commit
be207d6648
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue