aboutsummaryrefslogtreecommitdiff
path: root/hosts/macbook/configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-07-30 23:53:36 +0200
committerschererleander <leander@schererleander.de>2025-07-30 23:53:36 +0200
commit9d18586e046fb395efe3fa55cff6a5079aeb7117 (patch)
tree315f1ad13c1e0823a0416ea98412deca1cc8a7f1 /hosts/macbook/configuration.nix
parentd9a3e99839075f98d6ae41fc30f9d5f34b45ac6f (diff)
feat: pass username to modules
Diffstat (limited to 'hosts/macbook/configuration.nix')
-rw-r--r--hosts/macbook/configuration.nix6
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;