mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-10 02:02:36 +08:00
Fix darwin build
This commit is contained in:
parent
e5ad850eb8
commit
2662c81679
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue