mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
add some darwin user stuff
This commit is contained in:
parent
388e50d9d4
commit
ac1e8828ed
13
modules/darwin/user.nix
Normal file
13
modules/darwin/user.nix
Normal 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -14,7 +14,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
userDirs = {
|
userDirs = {
|
||||||
# Required to prevent infinite recursion with himalaya
|
# Required to prevent infinite recursion when referenced by himalaya
|
||||||
download = lib.mkOption {
|
download = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "XDG directory for downloads";
|
description = "XDG directory for downloads";
|
||||||
|
Loading…
Reference in New Issue
Block a user