mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 20:45:37 +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";
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
}
|