Add a REPOS environment variable
This commit is contained in:
parent
c0fabc4f20
commit
51b6d6b8c5
|
@ -41,6 +41,7 @@ in {
|
||||||
LC_CTYPE = "en_GB.UTF-8";
|
LC_CTYPE = "en_GB.UTF-8";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
|
REPOS = "$HOME/Code";
|
||||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
repo_name="''${user_and_repo_name##*/}"
|
repo_name="''${user_and_repo_name##*/}"
|
||||||
repo_name="''${repo_name%.git}"
|
repo_name="''${repo_name%.git}"
|
||||||
|
|
||||||
user_path="''${HOME}/Code/''${domain}/''${user}"
|
user_path="''${REPOS}/''${domain}/''${user}"
|
||||||
|
|
||||||
repo_path="''${user_path}/''${repo_name}"
|
repo_path="''${user_path}/''${repo_name}"
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ in inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||||
|
REPOS = "$HOME/Code";
|
||||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in a new issue