29ea6b9408
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
26 lines
527 B
Nix
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
|
|
'';
|
|
};
|
|
}
|