summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/initial-home-setup.nix5
-rw-r--r--modules/home/resources/activation-scripts/clone-repos.sh8
2 files changed, 8 insertions, 5 deletions
diff --git a/modules/home/initial-home-setup.nix b/modules/home/initial-home-setup.nix
index a7119b9..2348b79 100644
--- a/modules/home/initial-home-setup.nix
+++ b/modules/home/initial-home-setup.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }: {
+{ config, lib, pkgs, userDetails, ... }: {
home.activation = {
cloneRepos = lib.hm.dag.entryAfter ["writeBoundary"] ''
export PATH="${config.home.path}/bin:$PATH"
@@ -14,5 +14,8 @@
export PATH="$HOME/.local/bin/misc:$PATH"
run mimewiz # already verbose
'';
+ createDirs = lib.hm.dag.entryAfter ["writeBoundary"] ''
+ run mkdir -p $VERBOSE_ARG "${userDetails.home.downloads}"
+ '';
};
}
diff --git a/modules/home/resources/activation-scripts/clone-repos.sh b/modules/home/resources/activation-scripts/clone-repos.sh
index e25ef0c..0050359 100644
--- a/modules/home/resources/activation-scripts/clone-repos.sh
+++ b/modules/home/resources/activation-scripts/clone-repos.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-server="git@localgit:"
+server="https://git.tjkeller.xyz/"
clonemissing() {
# clone to $2
@@ -17,6 +17,6 @@ clonemissing() {
# # repo # clone to # link to
clonemissing scripts.git $HOME/docs/src/scripts $HOME/.local/bin
clonemissing dotconfig.git $HOME/docs/src/config $HOME/.config
-clonemissing awesome $HOME/.config/awesome
-clonemissing nvim $HOME/.config/nvim
-clonemissing zsh $HOME/.config/zsh
+clonemissing awesome $HOME/.config/awesome ''
+clonemissing nvim $HOME/.config/nvim ''
+clonemissing zsh $HOME/.config/zsh ''