dotfiles/modules/darwin/user.nix

22 lines
386 B
Nix
Raw Normal View History

2022-06-20 03:54:16 +00:00
{ config, pkgs, lib, ... }: {
2022-06-13 12:53:00 +00:00
2022-12-21 21:18:03 +00:00
config = lib.mkIf pkgs.stdenv.isDarwin {
2022-12-21 21:18:03 +00:00
users.users."${config.user}" = {
# macOS user
home = config.homePath;
shell = pkgs.fish; # Default shell
};
# Used for aerc
home-manager.users.${config.user} = {
home.sessionVariables = {
XDG_CONFIG_HOME = "${config.homePath}/.config";
};
};
2022-06-13 12:53:00 +00:00
};
}