summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2024-11-03 20:09:06 -0600
committerTim Keller <tjkeller.xyz>2024-11-03 20:09:06 -0600
commit571d56afe69d167e4406b249ccadd7f0f527d52c (patch)
tree33aeef251e04c13beb694e1c42e7eb1d74a7891e /modules
parent930a33b8a327a4832a13b0189024e2173361f7c9 (diff)
downloadnixos-571d56afe69d167e4406b249ccadd7f0f527d52c.tar.xz
nixos-571d56afe69d167e4406b249ccadd7f0f527d52c.zip
fix bugs
Diffstat (limited to 'modules')
-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 ''