summaryrefslogtreecommitdiff
path: root/modules/home/initial-home-setup.nix
blob: a7119b9b37d159fe082904ce3baacdd892c588be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, ... }: {
	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="$HOME/.local/bin/misc:$PATH"
			run mimewiz  # already verbose
		'';
	};
}