add some darwin user stuff

This commit is contained in:
Noah Masur 2022-06-13 08:53:00 -04:00
parent 388e50d9d4
commit ac1e8828ed
2 changed files with 14 additions and 1 deletions

13
modules/darwin/user.nix Normal file
View File

@ -0,0 +1,13 @@
{ pkgs, ... }: {
users.users."${user}" = { # macOS user
home = "/Users/${user}";
shell = pkgs.zsh; # Default shell
};
networking = {
computerName = "MacBook"; # Host name
hostName = "MacBook";
};
}

View File

@ -14,7 +14,7 @@
};
userDirs = {
# Required to prevent infinite recursion with himalaya
# Required to prevent infinite recursion when referenced by himalaya
download = lib.mkOption {
type = lib.types.str;
description = "XDG directory for downloads";