dotfiles/modules/darwin/user.nix

18 lines
297 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}.xdg.enable = true;
2022-06-13 12:53:00 +00:00
};
}