From 29ea6b9408446f0c033726fd7bb07449ab37d1ee Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 25 Nov 2020 09:59:11 -0500 Subject: 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 Tested-by: BuildkiteCI --- .../glittershark/system/home/platforms/darwin.nix | 32 ++++++++++++---------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'users/glittershark/system/home/platforms/darwin.nix') diff --git a/users/glittershark/system/home/platforms/darwin.nix b/users/glittershark/system/home/platforms/darwin.nix index d6b33ba5625c..cf0375e94162 100644 --- a/users/glittershark/system/home/platforms/darwin.nix +++ b/users/glittershark/system/home/platforms/darwin.nix @@ -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 + ''; + }; } -- cgit 1.4.1