blob: 046f5a5fca143be3a80192b14ebaf231c6a5aa61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ config, lib, pkgs, userDetails, ... }: {
home.activation = {
cloneRepos = lib.hm.dag.entryAfter ["writeBoundary"] ''
export PATH="${config.home.path}/bin:$PATH"
${builtins.readFile ./resources/activation-scripts/clone-repos.sh}
'';
linkZshProfile = lib.hm.dag.entryAfter ["writeBoundary"] ''
run ln -sf $VERBOSE_ARG $HOME/.config/zsh/zprofile $HOME/.zprofile
'';
cleanupHome = lib.hm.dag.entryAfter ["writeBoundary"] ''
run rm -f $VERBOSE_ARG $HOME/{.zcompdump,.zshrc,.zsh_history,.bash_history}
'';
mimewiz = lib.hm.dag.entryAfter ["writeBoundary"] ''
export PATH="${pkgs.xdg-utils}/bin:$PATH"
export PATH="$HOME/.local/bin/misc:$PATH"
run mimewiz -i # already verbose
'';
createDirs = lib.hm.dag.entryAfter ["writeBoundary"] ''
run mkdir -p $VERBOSE_ARG "${userDetails.home.downloads}"
'';
};
}
|