diff options
| author | schererleander <leander@schererleander.de> | 2025-07-30 23:53:36 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-07-30 23:53:36 +0200 |
| commit | 9d18586e046fb395efe3fa55cff6a5079aeb7117 (patch) | |
| tree | 315f1ad13c1e0823a0416ea98412deca1cc8a7f1 /hosts/macbook/configuration.nix | |
| parent | d9a3e99839075f98d6ae41fc30f9d5f34b45ac6f (diff) | |
feat: pass username to modules
Diffstat (limited to 'hosts/macbook/configuration.nix')
| -rw-r--r-- | hosts/macbook/configuration.nix | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
