tvl-depot/users/glittershark/system/home/platforms/darwin.nix
Griffin Smith 29ea6b9408 feat(glittershark): Get everything working on Darwin
Update everything in home-manager to properly work on darwin (including
adding dobharchu as a top-level attribute from
//users/glittershark/home) and also fix font faces and sizes in emacs
config

Change-Id: Ica889dd212876030d5c2a916a71d8b614e6964f1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2147
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
2020-11-25 15:06:26 +00:00

26 lines
527 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.packages = with pkgs; [
coreutils
gnupg
pinentry_mac
];
home.activation.linkApplications = lib.hm.dag.entryAfter ["writeBoundary"] ''
$DRY_RUN_CMD ln -sf $VERBOSE_ARG \
~/.nix-profile/Applications/* ~/Applications/
'';
programs.zsh.initExtra = ''
export NIX_PATH=$HOME/.nix-defexpr/channels:$NIX_PATH
if [[ "$TERM" == "alacritty" ]]; then
export TERM="xterm-256color"
fi
'';
};
}