mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-21 19:57:02 -04:00
118 current 2024-05-10 22:14:56 24.05.20240419.5c24cf2 6.6.28 *
This commit is contained in:
parent
77d3f695d5
commit
f531235399
2 changed files with 102 additions and 2 deletions
|
@ -123,8 +123,14 @@ in
|
|||
# '')
|
||||
(pkgs.writeShellScriptBin "__eslint_default_config" ''
|
||||
|
||||
echo $(pwd)
|
||||
exit 0
|
||||
if [[ -e ./.eslintrc.json ]]; then
|
||||
eslint_d $@
|
||||
exit $?
|
||||
else
|
||||
eslint_d --config /home/${config.home.username}/.config/.eslintrc.json $@
|
||||
exit $?
|
||||
fi
|
||||
|
||||
'')
|
||||
];
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
|
@ -135,6 +141,10 @@ in
|
|||
source = ../../dotfiles/kitty;
|
||||
target = "./.config/kitty";
|
||||
};
|
||||
eslint_d_config = {
|
||||
source = ../../dotfiles/eslintrc.json;
|
||||
target = "./.config/.eslintrc.json";
|
||||
};
|
||||
gh = {
|
||||
recursive = true;
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/gh";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue