2020-05-26 16:43:19 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2020-11-25 15:59:11 +01:00
|
|
|
config = {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
coreutils
|
|
|
|
gnupg
|
|
|
|
pinentry_mac
|
|
|
|
];
|
2020-05-26 16:43:19 +02:00
|
|
|
|
2020-11-25 15:59:11 +01:00
|
|
|
home.activation.linkApplications = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
|
|
|
$DRY_RUN_CMD ln -sf $VERBOSE_ARG \
|
|
|
|
~/.nix-profile/Applications/* ~/Applications/
|
|
|
|
'';
|
2020-05-26 16:43:19 +02:00
|
|
|
|
2020-11-25 15:59:11 +01:00
|
|
|
programs.zsh.initExtra = ''
|
|
|
|
export NIX_PATH=$HOME/.nix-defexpr/channels:$NIX_PATH
|
2020-05-26 16:43:19 +02:00
|
|
|
|
2020-11-25 15:59:11 +01:00
|
|
|
if [[ "$TERM" == "alacritty" ]]; then
|
|
|
|
export TERM="xterm-256color"
|
|
|
|
fi
|
|
|
|
'';
|
|
|
|
};
|
2020-05-26 16:43:19 +02:00
|
|
|
}
|