22 lines
386 B
Nix
Raw Normal View History

2022-06-19 23:54:16 -04:00
{ config, pkgs, lib, ... }: {
2022-06-13 08:53:00 -04:00
2022-12-21 14:18:03 -07:00
config = lib.mkIf pkgs.stdenv.isDarwin {
2022-12-21 14:18:03 -07: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 08:53:00 -04:00
};
}