mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 21:04:53 +00:00
22 lines
386 B
Nix
22 lines
386 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
config = lib.mkIf pkgs.stdenv.isDarwin {
|
|
|
|
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";
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
}
|