From 2662c8167960c54812a40db761ac863db65d2e41 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 3 Dec 2022 15:22:01 -0500 Subject: [PATCH] Fix darwin build --- systems/darwin.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/systems/darwin.nix b/systems/darwin.nix index 5cd70be..83b8173 100644 --- a/systems/darwin.nix +++ b/systems/darwin.nix @@ -74,8 +74,10 @@ security.pam.enableSudoTouchIdAuth = true; # For home-manager to work. - users.users.${flake.config.people.myself}.name = flake.config.people.myself; - users.users.${flake.config.people.myself}.home = "/Users/${flake.config.people.myself}"; + users.users.${flake.config.people.myself} = { + name = flake.config.people.myself; + home = "/Users/${flake.config.people.myself}"; + }; # Use a custom configuration.nix location. # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix