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
This commit is contained in:
Griffin Smith 2020-11-25 09:59:11 -05:00 committed by glittershark
parent c56f402383
commit 29ea6b9408
8 changed files with 46 additions and 42 deletions

View file

@ -3,22 +3,24 @@
with lib;
{
home.packages = with pkgs; [
coreutils
gnupg
pinentry_mac
];
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/
'';
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
programs.zsh.initExtra = ''
export NIX_PATH=$HOME/.nix-defexpr/channels:$NIX_PATH
if [[ "$TERM" == "alacritty" ]]; then
export TERM="xterm-256color"
fi
'';
if [[ "$TERM" == "alacritty" ]]; then
export TERM="xterm-256color"
fi
'';
};
}