From be207d66487cdbea34e35af8949b92082a78ef6c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 11 May 2024 20:32:02 +0200 Subject: [PATCH] Pass `machine` variable to user config --- lib/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/configuration.nix b/lib/configuration.nix index 6e06e02..9b63842 100644 --- a/lib/configuration.nix +++ b/lib/configuration.nix @@ -44,6 +44,8 @@ if (configPath != null) then { ${username} = { pkgs, ... }@args: import configPath ({ + inherit machine; + user = { name = username; } // user;