Fix home directory on darwin

Stupid case-insensitive filesytem
This commit is contained in:
Nathan McCarty 2022-05-10 00:22:45 -04:00
parent 459ecd3312
commit 051cdb47f9
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@
## Setup user first ## Setup user first
users = { users = {
users.nathan = { users.nathan = {
home = "/home/nathan"; # darwin is special
home = if pkgs.stdenv.isDarwin then "/home/Nathan" else "/home/nathan";
description = "Nathan McCarty"; description = "Nathan McCarty";
shell = pkgs.fish; shell = pkgs.fish;
}; };