From 9d18586e046fb395efe3fa55cff6a5079aeb7117 Mon Sep 17 00:00:00 2001 From: schererleander Date: Wed, 30 Jul 2025 23:53:36 +0200 Subject: feat: pass username to modules --- hosts/macbook/configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hosts/macbook/configuration.nix') diff --git a/hosts/macbook/configuration.nix b/hosts/macbook/configuration.nix index 867ca40..b7ee965 100644 --- a/hosts/macbook/configuration.nix +++ b/hosts/macbook/configuration.nix @@ -1,9 +1,9 @@ -{ ... }: +{ username, ... }: { - users.users.schererleander.home = "/Users/schererleander"; + users.users.${username}.home = "/Users/${username}"; - system.primaryUser = "schererleander"; + system.primaryUser = username; system.defaults = { dock = { autohide = true; -- cgit v1.3.1