Compare commits
2 commits
5d45159363
...
ce4e0d543e
Author | SHA1 | Date | |
---|---|---|---|
ce4e0d543e | |||
f9ae07c2f9 |
26 changed files with 810 additions and 607 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
corebranch="doryphore-dev"
|
corebranch="doryphore-dev"
|
||||||
curdir="$HOME/Developpements" #${PWD}
|
curdir="$HOME/Developpements" #${PWD}
|
||||||
repos=$(curl --request GET --url "https://api.github.com/orgs/yeswiki/repos" | jq '.[].full_name' | tr -d "\"" | sort)
|
repos=$(curl --request GET --url "https://api.github.com/orgs/yeswiki/repos?per_page=200" | jq '.[].full_name' | tr -d "\"" | sort)
|
||||||
|
|
||||||
# core
|
# core
|
||||||
printf "\n================ Install YesWiki core ================\n"
|
printf "\n================ Install YesWiki core ================\n"
|
||||||
|
|
201
dotfiles/nvim.lazy/LICENSE
Normal file
201
dotfiles/nvim.lazy/LICENSE
Normal file
|
@ -0,0 +1,201 @@
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
4
dotfiles/nvim.lazy/README.md
Normal file
4
dotfiles/nvim.lazy/README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# 💤 LazyVim
|
||||||
|
|
||||||
|
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
|
||||||
|
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
|
2
dotfiles/nvim.lazy/init.lua
Normal file
2
dotfiles/nvim.lazy/init.lua
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||||
|
require("config.lazy")
|
6
dotfiles/nvim/.stylua.toml
Normal file
6
dotfiles/nvim/.stylua.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
column_width = 120
|
||||||
|
line_endings = "Unix"
|
||||||
|
indent_type = "Spaces"
|
||||||
|
indent_width = 2
|
||||||
|
quote_style = "AutoPreferDouble"
|
||||||
|
call_parentheses = "None"
|
|
@ -1,201 +1,24 @@
|
||||||
Apache License
|
This is free and unencumbered software released into the public domain.
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||||
|
distribute this software, either in source code form or as a compiled
|
||||||
|
binary, for any purpose, commercial or non-commercial, and by any
|
||||||
|
means.
|
||||||
|
|
||||||
1. Definitions.
|
In jurisdictions that recognize copyright laws, the author or authors
|
||||||
|
of this software dedicate any and all copyright interest in the
|
||||||
|
software to the public domain. We make this dedication for the benefit
|
||||||
|
of the public at large and to the detriment of our heirs and
|
||||||
|
successors. We intend this dedication to be an overt act of
|
||||||
|
relinquishment in perpetuity of all present and future rights to this
|
||||||
|
software under copyright law.
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
For more information, please refer to <https://unlicense.org>
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
# 💤 LazyVim
|
**This repo is supposed to used as config by NvChad users!**
|
||||||
|
|
||||||
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
|
- The main nvchad repo (NvChad/NvChad) is used as a plugin by this repo.
|
||||||
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
|
- So you just import its modules , like `require "nvchad.options" , require "nvchad.mappings"`
|
||||||
|
- So you can delete the .git from this repo ( when you clone it locally ) or fork it :)
|
||||||
|
|
||||||
|
# Credits
|
||||||
|
|
||||||
|
1) Lazyvim starter https://github.com/LazyVim/starter as nvchad's starter was inspired by Lazyvim's . It made a lot of things easier!
|
||||||
|
|
|
@ -1,2 +1,106 @@
|
||||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
vim.g.base46_cache = vim.fn.stdpath "data" .. "/base46/"
|
||||||
require("config.lazy")
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
|
-- bootstrap lazy and all plugins
|
||||||
|
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
||||||
|
|
||||||
|
if not vim.uv.fs_stat(lazypath) then
|
||||||
|
local repo = "https://github.com/folke/lazy.nvim.git"
|
||||||
|
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
local lazy_config = require "configs.lazy"
|
||||||
|
|
||||||
|
-- load plugins
|
||||||
|
require("lazy").setup({
|
||||||
|
{
|
||||||
|
"NvChad/NvChad",
|
||||||
|
lazy = false,
|
||||||
|
branch = "v2.5",
|
||||||
|
import = "nvchad.plugins",
|
||||||
|
},
|
||||||
|
|
||||||
|
{ import = "plugins" },
|
||||||
|
}, lazy_config)
|
||||||
|
|
||||||
|
-- load theme
|
||||||
|
dofile(vim.g.base46_cache .. "defaults")
|
||||||
|
dofile(vim.g.base46_cache .. "statusline")
|
||||||
|
|
||||||
|
require "options"
|
||||||
|
require "nvchad.autocmds"
|
||||||
|
|
||||||
|
vim.schedule(function()
|
||||||
|
require "mappings"
|
||||||
|
end)
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({ "BufEnter", "QuitPre" }, {
|
||||||
|
nested = false,
|
||||||
|
callback = function(e)
|
||||||
|
local tree = require("nvim-tree.api").tree
|
||||||
|
|
||||||
|
-- Nothing to do if tree is not opened
|
||||||
|
if not tree.is_visible() then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
-- How many focusable windows do we have? (excluding e.g. incline status window)
|
||||||
|
local winCount = 0
|
||||||
|
for _, winId in ipairs(vim.api.nvim_list_wins()) do
|
||||||
|
if vim.api.nvim_win_get_config(winId).focusable then
|
||||||
|
winCount = winCount + 1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- We want to quit and only one window besides tree is left
|
||||||
|
if e.event == "QuitPre" and winCount == 2 then
|
||||||
|
vim.api.nvim_cmd({ cmd = "qall" }, {})
|
||||||
|
end
|
||||||
|
|
||||||
|
-- :bd was probably issued an only tree window is left
|
||||||
|
-- Behave as if tree was closed (see `:h :bd`)
|
||||||
|
if e.event == "BufEnter" and winCount == 1 then
|
||||||
|
-- Required to avoid "Vim:E444: Cannot close last window"
|
||||||
|
vim.defer_fn(function()
|
||||||
|
-- close nvim-tree: will go to the last buffer used before closing
|
||||||
|
tree.toggle { find_file = true, focus = true }
|
||||||
|
-- re-open nivm-tree
|
||||||
|
tree.toggle { find_file = true, focus = false }
|
||||||
|
end, 10)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
require("nvim-tree").setup {
|
||||||
|
actions = {
|
||||||
|
open_file = {
|
||||||
|
quit_on_open = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
local autocmd = vim.api.nvim_create_autocmd
|
||||||
|
|
||||||
|
local function open_nvim_tree(data)
|
||||||
|
-- buffer is a directory
|
||||||
|
local directory = vim.fn.isdirectory(data.file) == 1
|
||||||
|
|
||||||
|
-- buffer is a [No Name]
|
||||||
|
local no_name = data.file == "" and vim.bo[data.buf].buftype == ""
|
||||||
|
|
||||||
|
if not directory and not no_name then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
if directory then
|
||||||
|
-- change to the directory
|
||||||
|
vim.cmd.cd(data.file)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- open the tree
|
||||||
|
require("nvim-tree.api").tree.open()
|
||||||
|
end
|
||||||
|
|
||||||
|
autocmd({ "VimEnter" }, { callback = open_nvim_tree })
|
||||||
|
|
30
dotfiles/nvim/lazy-lock.json
Normal file
30
dotfiles/nvim/lazy-lock.json
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"LuaSnip": { "branch": "master", "commit": "e808bee352d1a6fcf902ca1a71cee76e60e24071" },
|
||||||
|
"NvChad": { "branch": "v2.5", "commit": "b83a949d9e883b6ab98070f224535f1018174a5d" },
|
||||||
|
"base46": { "branch": "v2.5", "commit": "d5a768e9a8849a36c6cfc0c7134b05cb7584c7af" },
|
||||||
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
|
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||||
|
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||||
|
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||||
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
|
"conform.nvim": { "branch": "master", "commit": "1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" },
|
||||||
|
"friendly-snippets": { "branch": "main", "commit": "00ba9dd3df89509f95437b8d595553707c46d5ea" },
|
||||||
|
"gitsigns.nvim": { "branch": "main", "commit": "863903631e676b33e8be2acb17512fdc1b80b4fb" },
|
||||||
|
"indent-blankline.nvim": { "branch": "master", "commit": "2e57e1bbda970317dce4b7878ccf9a831dc7067d" },
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
|
||||||
|
"lazygit.nvim": { "branch": "main", "commit": "56760339a81cd1540d5a72fd9d93010a2677b55d" },
|
||||||
|
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||||
|
"menu": { "branch": "main", "commit": "205b3de60bbd1dfa73fd12b04530743cd0e70b22" },
|
||||||
|
"minty": { "branch": "main", "commit": "8809b2c7c2edbeb3fa9c3b05bd2e89934d54f526" },
|
||||||
|
"nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" },
|
||||||
|
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "1c2595e38da319a1a58c94f58afe6fe6fe02e292" },
|
||||||
|
"nvim-tree.lua": { "branch": "master", "commit": "c9104a5d079db5a158c9562c54689df27d52dccc" },
|
||||||
|
"nvim-treesitter": { "branch": "master", "commit": "cc2c11c403a9143827501223b4ee64432dcaf246" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "6b53401918a9033a41159d012160c5fb5eb249ae" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||||
|
"telescope.nvim": { "branch": "master", "commit": "eae0d8fbde590b0eaa2f9481948cd6fd7dd21656" },
|
||||||
|
"ui": { "branch": "v3.0", "commit": "25868b16b64cb842a28dd9ae002fa6858284bef8" },
|
||||||
|
"volt": { "branch": "main", "commit": "ce1e55d52d86e33f340a20b45701b434cc684c15" },
|
||||||
|
"which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" }
|
||||||
|
}
|
21
dotfiles/nvim/lua/chadrc.lua
Normal file
21
dotfiles/nvim/lua/chadrc.lua
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
-- This file needs to have same structure as nvconfig.lua
|
||||||
|
-- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua
|
||||||
|
-- Please read that file to know all available options :(
|
||||||
|
|
||||||
|
---@type ChadrcConfig
|
||||||
|
local M = {}
|
||||||
|
|
||||||
|
M.base46 = {
|
||||||
|
theme = "rosepine",
|
||||||
|
}
|
||||||
|
|
||||||
|
M.ui = {
|
||||||
|
tabufline = {
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
M.nvdash = {
|
||||||
|
load_on_startup = true,
|
||||||
|
}
|
||||||
|
return M
|
15
dotfiles/nvim/lua/configs/conform.lua
Normal file
15
dotfiles/nvim/lua/configs/conform.lua
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
local options = {
|
||||||
|
formatters_by_ft = {
|
||||||
|
lua = { "stylua" },
|
||||||
|
css = { "prettier" },
|
||||||
|
html = { "prettier" },
|
||||||
|
js = { "prettier" },
|
||||||
|
},
|
||||||
|
|
||||||
|
format_on_save = {
|
||||||
|
timeout_ms = 50,
|
||||||
|
lsp_fallback = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
return options
|
47
dotfiles/nvim/lua/configs/lazy.lua
Normal file
47
dotfiles/nvim/lua/configs/lazy.lua
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
return {
|
||||||
|
defaults = { lazy = true },
|
||||||
|
install = { colorscheme = { "nvchad" } },
|
||||||
|
|
||||||
|
ui = {
|
||||||
|
icons = {
|
||||||
|
ft = "",
|
||||||
|
lazy = " ",
|
||||||
|
loaded = "",
|
||||||
|
not_loaded = "",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
performance = {
|
||||||
|
rtp = {
|
||||||
|
disabled_plugins = {
|
||||||
|
"2html_plugin",
|
||||||
|
"tohtml",
|
||||||
|
"getscript",
|
||||||
|
"getscriptPlugin",
|
||||||
|
"gzip",
|
||||||
|
"logipat",
|
||||||
|
"netrw",
|
||||||
|
"netrwPlugin",
|
||||||
|
"netrwSettings",
|
||||||
|
"netrwFileHandlers",
|
||||||
|
"matchit",
|
||||||
|
"tar",
|
||||||
|
"tarPlugin",
|
||||||
|
"rrhelper",
|
||||||
|
"spellfile_plugin",
|
||||||
|
"vimball",
|
||||||
|
"vimballPlugin",
|
||||||
|
"zip",
|
||||||
|
"zipPlugin",
|
||||||
|
"tutor",
|
||||||
|
"rplugin",
|
||||||
|
"syntax",
|
||||||
|
"synmenu",
|
||||||
|
"optwin",
|
||||||
|
"compiler",
|
||||||
|
"bugreport",
|
||||||
|
"ftplugin",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
24
dotfiles/nvim/lua/configs/lspconfig.lua
Normal file
24
dotfiles/nvim/lua/configs/lspconfig.lua
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
-- load defaults i.e lua_lsp
|
||||||
|
require("nvchad.configs.lspconfig").defaults()
|
||||||
|
|
||||||
|
local lspconfig = require "lspconfig"
|
||||||
|
|
||||||
|
-- EXAMPLE
|
||||||
|
local servers = { "html", "cssls" }
|
||||||
|
local nvlsp = require "nvchad.configs.lspconfig"
|
||||||
|
|
||||||
|
-- lsps with default config
|
||||||
|
for _, lsp in ipairs(servers) do
|
||||||
|
lspconfig[lsp].setup {
|
||||||
|
on_attach = nvlsp.on_attach,
|
||||||
|
on_init = nvlsp.on_init,
|
||||||
|
capabilities = nvlsp.capabilities,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
-- configuring single server, example: typescript
|
||||||
|
-- lspconfig.ts_ls.setup {
|
||||||
|
-- on_attach = nvlsp.on_attach,
|
||||||
|
-- on_init = nvlsp.on_init,
|
||||||
|
-- capabilities = nvlsp.capabilities,
|
||||||
|
-- }
|
57
dotfiles/nvim/lua/mappings.lua
Normal file
57
dotfiles/nvim/lua/mappings.lua
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
require "nvchad.mappings"
|
||||||
|
|
||||||
|
-- add yours here
|
||||||
|
|
||||||
|
local map = vim.keymap.set
|
||||||
|
|
||||||
|
map("n", ";", ":", { desc = "CMD enter command mode" })
|
||||||
|
map("i", "jk", "<ESC>")
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f1>", function()
|
||||||
|
require("harpoon"):list():select(1)
|
||||||
|
end, { desc = "Harpoon file 1" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f2>", function()
|
||||||
|
require("harpoon"):list():select(2)
|
||||||
|
end, { desc = "Harpoon file 2" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f3>", function()
|
||||||
|
require("harpoon"):list():select(3)
|
||||||
|
end, { desc = "Harpoon file 3" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f4>", function()
|
||||||
|
require("harpoon"):list():select(4)
|
||||||
|
end, { desc = "Harpoon file 4" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f5>", function()
|
||||||
|
require("harpoon"):list():select(5)
|
||||||
|
end, { desc = "Harpoon file 5" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f6>", function()
|
||||||
|
require("harpoon"):list():select(6)
|
||||||
|
end, { desc = "Harpoon file 6" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f7>", function()
|
||||||
|
require("harpoon"):list():select(7)
|
||||||
|
end, { desc = "Harpoon file 7" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<f8>", function()
|
||||||
|
require("harpoon"):list():select(8)
|
||||||
|
end, { desc = "Harpoon file 8" })
|
||||||
|
|
||||||
|
map({ "i", "x", "n", "s" }, "<leader>/", "<cmd>Telescope live_grep<CR>", { desc = "telescope live grep" })
|
||||||
|
map(
|
||||||
|
{ "i", "x", "n", "s" },
|
||||||
|
"<leader><leader>",
|
||||||
|
"<cmd>Telescope find_files follow=true hidden=true<CR>",
|
||||||
|
{ desc = "telescope find all files" }
|
||||||
|
)
|
||||||
|
map({ "i", "x", "n", "s" }, "<leader>,", "<cmd>Telescope buffers<CR>", { desc = "telescope find buffers" })
|
||||||
|
|
||||||
|
-- Move Lines
|
||||||
|
map("n", "<A-down>", "<cmd>m .+1<cr>==", { desc = "Move Down" })
|
||||||
|
map("n", "<A-up>", "<cmd>m .-2<cr>==", { desc = "Move Up" })
|
||||||
|
map("i", "<A-down>", "<esc><cmd>m .+1<cr>==gi", { desc = "Move Down" })
|
||||||
|
map("i", "<A-up>", "<esc><cmd>m .-2<cr>==gi", { desc = "Move Up" })
|
||||||
|
map("v", "<A-down>", ":m '>+1<cr>gv=gv", { desc = "Move Down" })
|
||||||
|
map("v", "<A-up>", ":m '<-2<cr>gv=gv", { desc = "Move Up" })
|
12
dotfiles/nvim/lua/options.lua
Normal file
12
dotfiles/nvim/lua/options.lua
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
require "nvchad.options"
|
||||||
|
|
||||||
|
-- add yours here!
|
||||||
|
|
||||||
|
local o = vim.o
|
||||||
|
o.cursorlineopt ='both' -- to enable cursorline
|
||||||
|
o.scrolloff = 9
|
||||||
|
o.wrap = true
|
||||||
|
o.clipboard = "unnamedplus"
|
||||||
|
o.list = false
|
||||||
|
o.relativenumber = true
|
||||||
|
|
38
dotfiles/nvim/lua/plugins/init.lua
Normal file
38
dotfiles/nvim/lua/plugins/init.lua
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"stevearc/conform.nvim",
|
||||||
|
event = "BufWritePre",
|
||||||
|
opts = require "configs.conform",
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
config = function()
|
||||||
|
require "configs.lspconfig"
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"kdheepak/lazygit.nvim",
|
||||||
|
lazy = true,
|
||||||
|
cmd = {
|
||||||
|
"LazyGit",
|
||||||
|
"LazyGitConfig",
|
||||||
|
"LazyGitCurrentFile",
|
||||||
|
"LazyGitFilter",
|
||||||
|
"LazyGitFilterCurrentFile",
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- {
|
||||||
|
-- "nvim-treesitter/nvim-treesitter",
|
||||||
|
-- opts = {
|
||||||
|
-- ensure_installed = {
|
||||||
|
-- "vim", "lua", "vimdoc",
|
||||||
|
-- "html", "css"
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
}
|
|
@ -1,35 +1,26 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
|
||||||
# manage.
|
|
||||||
home.username = "mrflos";
|
home.username = "mrflos";
|
||||||
home.homeDirectory = "/home/${home.username}";
|
home.homeDirectory = "/home/mrflos";
|
||||||
|
home.stateVersion = "24.05"; # Please read the comment before changing.
|
||||||
# This value determines the Home Manager release that your configuration is
|
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
|
||||||
# introduces backwards incompatible changes.
|
|
||||||
#
|
|
||||||
# You should not change this value, even if you update Home Manager. If you do
|
|
||||||
# want to update the value, then make sure to first check the Home Manager
|
|
||||||
# release notes.
|
|
||||||
home.stateVersion = "23.11"; # Please read the comment before changing.
|
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
|
||||||
# environment.
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
#cli
|
|
||||||
ansible
|
ansible
|
||||||
|
atuin
|
||||||
bat
|
bat
|
||||||
btop
|
btop
|
||||||
|
cargo
|
||||||
catnip
|
catnip
|
||||||
|
cmatrix
|
||||||
coreutils
|
coreutils
|
||||||
curl
|
curl
|
||||||
dnsutils
|
dnsutils
|
||||||
emacs-nox
|
emacs-nox
|
||||||
fd
|
fd
|
||||||
findutils
|
findutils
|
||||||
|
fish
|
||||||
fzf
|
fzf
|
||||||
|
gcc
|
||||||
gnugrep
|
gnugrep
|
||||||
gnumake
|
gnumake
|
||||||
gnupg
|
gnupg
|
||||||
|
@ -40,19 +31,32 @@
|
||||||
htop
|
htop
|
||||||
lazygit
|
lazygit
|
||||||
lsd
|
lsd
|
||||||
|
magic-wormhole
|
||||||
|
lua51Packages.lua
|
||||||
|
lua51Packages.luarocks
|
||||||
|
lua-language-server
|
||||||
mc
|
mc
|
||||||
micro
|
micro
|
||||||
mosh
|
mosh
|
||||||
mpd
|
mpd
|
||||||
|
mpv
|
||||||
neofetch
|
neofetch
|
||||||
nixfmt
|
neovim
|
||||||
|
nil
|
||||||
|
nixfmt-rfc-style
|
||||||
|
nodejs_20
|
||||||
pandoc
|
pandoc
|
||||||
pass
|
pass
|
||||||
pciutils
|
pciutils
|
||||||
|
php83
|
||||||
|
php83Packages.composer
|
||||||
pinentry
|
pinentry
|
||||||
|
python312Packages.pip
|
||||||
ripgrep
|
ripgrep
|
||||||
slides
|
slides
|
||||||
starship
|
starship
|
||||||
|
symfony-cli
|
||||||
|
thunderbird
|
||||||
tmux
|
tmux
|
||||||
tree
|
tree
|
||||||
unzip
|
unzip
|
||||||
|
@ -60,412 +64,222 @@
|
||||||
wget
|
wget
|
||||||
whois
|
whois
|
||||||
wirelesstools
|
wirelesstools
|
||||||
|
yarn
|
||||||
|
yazi
|
||||||
yt-dlp
|
yt-dlp
|
||||||
zellij
|
zellij
|
||||||
|
zoxide
|
||||||
zola
|
zola
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
|
|
||||||
# apps
|
|
||||||
kitty
|
|
||||||
|
|
||||||
# fonts
|
# fonts
|
||||||
(pkgs.nerdfonts.override { fonts = [ "Iosevka" ]; })
|
(pkgs.nerdfonts.override { fonts = [ "Iosevka" ]; })
|
||||||
|
|
||||||
# # You can also create simple shell scripts directly inside your
|
|
||||||
# # configuration. For example, this adds a command 'my-hello' to your
|
|
||||||
# # environment:
|
|
||||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
|
||||||
# echo "Hello, ${config.home.username}!"
|
|
||||||
# '')
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
|
||||||
# plain files is through 'home.file'.
|
|
||||||
home.file = {
|
home.file = {
|
||||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
"./.config/kitty/" = {
|
||||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
source = ../dotfiles/kitty;
|
||||||
# # symlink to the Nix store copy.
|
recursive = true;
|
||||||
# ".screenrc".source = dotfiles/screenrc;
|
|
||||||
|
|
||||||
# # You can also set the file content immediately.
|
|
||||||
# ".gradle/gradle.properties".text = ''
|
|
||||||
# org.gradle.console=verbose
|
|
||||||
# org.gradle.daemon.idletimeout=3600000
|
|
||||||
# '';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# You can also manage environment variables but you will have to manually
|
"./.config/nvim/" = {
|
||||||
# source
|
source = ../dotfiles/nvim;
|
||||||
#
|
recursive = true;
|
||||||
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
};
|
||||||
#
|
|
||||||
# or
|
"./.config/lazygit/" = {
|
||||||
#
|
source = ../dotfiles/lazygit;
|
||||||
# /etc/profiles/per-user/florian/etc/profile.d/hm-session-vars.sh
|
recursive = true;
|
||||||
#
|
};
|
||||||
# if you don't want to manage your shell through Home Manager.
|
|
||||||
|
"./.config/tmux/" = {
|
||||||
|
source = ../dotfiles/tmux;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
|
home.sessionPath = [
|
||||||
|
"$HOME/.local/bin"
|
||||||
|
"$HOME/go/bin"
|
||||||
|
];
|
||||||
|
accounts.email.accounts = {
|
||||||
|
"mrflos@chmok.net" = {
|
||||||
|
realName = "Florian Schmitt";
|
||||||
|
userName = "mrflos@chmok.net";
|
||||||
|
address = "mrflos@chmok.net";
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
primary = true;
|
||||||
programs.home-manager.enable = true;
|
thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
imap = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 993;
|
||||||
|
};
|
||||||
|
|
||||||
|
smtp = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 465;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"mrflos@yeswiki.pro" = {
|
||||||
|
realName = "Florian Schmitt - Yeswiki.pro";
|
||||||
|
userName = "mrflos@yeswiki.pro";
|
||||||
|
address = "mrflos@yeswiki.pro";
|
||||||
|
|
||||||
|
thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
imap = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 993;
|
||||||
|
};
|
||||||
|
|
||||||
|
smtp = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 465;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"mrflos@mrflos.pw" = {
|
||||||
|
realName = "Florian Schmitt";
|
||||||
|
userName = "mrflos";
|
||||||
|
address = "mrflos@mrflos.pw";
|
||||||
|
|
||||||
|
primary = false;
|
||||||
|
thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
imap = {
|
||||||
|
host = "mrflos.pw";
|
||||||
|
port = 993;
|
||||||
|
#tls.enable = true;
|
||||||
|
#tls.useStartTls = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
smtp = {
|
||||||
|
host = "mrflos.pw";
|
||||||
|
port = 587;
|
||||||
|
#tls.useStartTls = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"contact@yeswiki.pro" = {
|
||||||
|
realName = "YesWiki.pro";
|
||||||
|
userName = "contact@yeswiki.pro";
|
||||||
|
address = "contact@yeswiki.pro";
|
||||||
|
|
||||||
|
primary = false;
|
||||||
|
thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
imap = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 993;
|
||||||
|
};
|
||||||
|
|
||||||
|
smtp = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 465;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"contact@yeswiki.net" = {
|
||||||
|
realName = "YesWiki.net";
|
||||||
|
userName = "contact@yeswiki.net";
|
||||||
|
address = "contact@yeswiki.net";
|
||||||
|
|
||||||
|
primary = false;
|
||||||
|
thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
imap = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 993;
|
||||||
|
};
|
||||||
|
|
||||||
|
smtp = {
|
||||||
|
host = "mail.infomaniak.com";
|
||||||
|
port = 465;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
neovim = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Florian Schmitt";
|
||||||
|
userEmail = "mrflos@gmail.com";
|
||||||
|
aliases = {
|
||||||
|
fa = "fetch --all --tags --prune --recurse-submodules --force";
|
||||||
|
};
|
||||||
|
extraConfig = {
|
||||||
|
pull.rebase = true;
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
core.editor = "nvim";
|
||||||
|
core.fileMode = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
neovim = {
|
||||||
|
defaultEditor = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
starship = {
|
starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
settings = with builtins; fromTOML (readFile ../dotfiles/starship/starship.toml);
|
||||||
settings = {
|
|
||||||
format = lib.concatStrings [
|
|
||||||
"$\{custom.tztime\}"
|
|
||||||
"$all"
|
|
||||||
"$directory"
|
|
||||||
"$character"
|
|
||||||
];
|
|
||||||
add_newline = true; # Inserts a blank line between shell prompts
|
|
||||||
character = {
|
|
||||||
success_symbol = "[➜](bold green)";
|
|
||||||
error_symbol = "[➜](bold red)";
|
|
||||||
};
|
|
||||||
custom.tztime = {
|
|
||||||
command = "date +\"%a %d %b %H:%M%p\"";
|
|
||||||
when = "true";
|
|
||||||
format = "\\[\$symbol(\$output)\\] (purple)";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutosuggestions = true;
|
autosuggestion.enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "lsd --hyperlink=auto";
|
#tmux = "tmux -f ~/.config/tmux/tmux.conf attach || tmux -f ~/.config/tmux/tmux.conf new";
|
||||||
|
bunx = "bun --bun x";
|
||||||
|
g = "lazygit";
|
||||||
|
kdenix = "nix run github:pjones/plasma-manager --extra-experimental-features nix-command --extra-experimental-features flakes > /home/mrflos/Developpements/nixos-config/modules/home-plasma.nix";
|
||||||
icat = "kitty +kitten icat";
|
icat = "kitty +kitten icat";
|
||||||
nixedit = "vi /etc/nixos";
|
nixedit = "vi /etc/nixos";
|
||||||
nixupdate = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
nixupdate = "sudo nix-channel --update && sudo nixos-rebuild switch";
|
||||||
nixclean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc";
|
nixclean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc";
|
||||||
|
socks = "ssh -N -f -C -D 9090 mrflos@yunohost.yeswiki.net -p 6742";
|
||||||
|
yeswiki-updater = "cd /home/mrflos/Developpements/yeswiki-installer/ && sudo php yeswiki-updater.php";
|
||||||
|
vi = "nvim";
|
||||||
|
vim = "nvim";
|
||||||
};
|
};
|
||||||
|
initExtra = ''
|
||||||
|
export BUN_INSTALL="$HOME/.bun"
|
||||||
|
export PHP_CS_FIXER_IGNORE_ENV=1
|
||||||
|
export PATH="$HOME/.local/bin:$BUN_INSTALL/bin:$PATH"
|
||||||
|
eval "$(atuin init zsh)"
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
'';
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
|
||||||
plugins = [ "git" "ssh-agent" ];
|
|
||||||
theme = "robbyrussell";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
ssh = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
Host *
|
zstyle :omz:plugins:ssh-agent helper ksshaskpass
|
||||||
IgnoreUnknown UseKeychain
|
zstyle :omz:plugins:ssh-agent agent-forwarding yes
|
||||||
UseKeychain yes
|
zstyle :omz:plugins:ssh-agent lazy yes
|
||||||
ServerAliveInterval 15
|
|
||||||
ServerAliveCountMax 3
|
|
||||||
|
|
||||||
# CLIC mrflos rp4 Maison
|
|
||||||
Host mrflospw
|
|
||||||
HostName mrflos.pw
|
|
||||||
User mrflos
|
|
||||||
Port 4222
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# CLIC Gatien
|
|
||||||
Host clicgatien
|
|
||||||
HostName clic.cooptic.be
|
|
||||||
Port 4222
|
|
||||||
User clic
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# nas synology DS216play maison
|
|
||||||
Host nas
|
|
||||||
HostName 192.168.1.2
|
|
||||||
User mrflos
|
|
||||||
Port 65522
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# nas laurent
|
|
||||||
Host naslaurent
|
|
||||||
HostName 82.65.9.168
|
|
||||||
Port 65522
|
|
||||||
User furax37
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# ecocloud
|
|
||||||
Host ecocloud ecocloud-s-mart.im.utc 192.168.196.26
|
|
||||||
HostName 192.168.196.26
|
|
||||||
User optisseur
|
|
||||||
ProxyJump 10.200.0.240
|
|
||||||
|
|
||||||
# Friends
|
|
||||||
Host furax
|
|
||||||
User admin
|
|
||||||
HostName furax37.org
|
|
||||||
Port 22
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
# Yeswiki.pro
|
|
||||||
Host yeswikipro
|
|
||||||
HostName 138.201.86.17
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# Proxmox Clic Yeswiki.pro
|
|
||||||
Host clicyeswikipro
|
|
||||||
HostName 136.243.103.121
|
|
||||||
Port 22
|
|
||||||
User root
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# Bastion Globenet
|
|
||||||
Host bastionglobenet
|
|
||||||
HostName bastion.globenet.org
|
|
||||||
Port 20766
|
|
||||||
User yeswikipro
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host clicaudrey # ywp-clic-1 audrey
|
|
||||||
HostName 95.217.202.171
|
|
||||||
Port 22
|
|
||||||
User optisseur
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host ywp-clic-2
|
|
||||||
HostName 135.181.128.214
|
|
||||||
#Port 42022
|
|
||||||
Port 22
|
|
||||||
User optisseur
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
|
|
||||||
# Chatons YesWiki
|
|
||||||
Host yeswiki
|
|
||||||
HostName yunohost.yeswiki.net
|
|
||||||
Port 6742
|
|
||||||
User mrflos
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# YESWIKI
|
|
||||||
Host cooptools
|
|
||||||
User root
|
|
||||||
HostName ispconfig.coop.tools
|
|
||||||
Port 22
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_rsa
|
|
||||||
|
|
||||||
# COLIBRIS by server name
|
|
||||||
|
|
||||||
Host nascolibris
|
|
||||||
HostName 212.114.30.58
|
|
||||||
Port 42222
|
|
||||||
User backup
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## Avant tchat mattermost / Apres piwigo - peertube - nextcloud - onlyoffice
|
|
||||||
Host emmagoldman
|
|
||||||
#HostName 2a01:4f8:190:7302::2
|
|
||||||
HostName 144.76.3.3
|
|
||||||
Port 22
|
|
||||||
User admin
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## CLIC Yunohost colibox.colibris-outilslibres.org
|
|
||||||
Host georgesbrassens
|
|
||||||
HostName 65.21.50.40
|
|
||||||
Port 22
|
|
||||||
User admin
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## Hebergements web sites colibris - LEMP ispconfig
|
|
||||||
Host ivanillitch
|
|
||||||
HostName 95.217.77.254
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## Proxmox outils libres / jitsi - pads - mobilizon
|
|
||||||
Host leontolstoi
|
|
||||||
HostName 88.99.209.53
|
|
||||||
Port 22
|
|
||||||
User root
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## BBB
|
|
||||||
Host louisemichel
|
|
||||||
HostName 88.99.95.38
|
|
||||||
Port 22
|
|
||||||
User root
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## CLIC Yunohost clic-territoires.org interlab.cc
|
|
||||||
Host mikhailbakunin
|
|
||||||
HostName 78.46.65.157
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
## Colibris.social semapps docker
|
|
||||||
Host murraybookchin
|
|
||||||
HostName 65.21.2.239
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## Boutique Colibris - prestashop
|
|
||||||
Host pierreproudhon
|
|
||||||
HostName 176.9.59.51
|
|
||||||
Port 22
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
## Gogocarto
|
|
||||||
Host rosaluxemburg
|
|
||||||
HostName 135.181.166.113
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
UseRoaming no
|
|
||||||
IdentitiesOnly yes
|
|
||||||
|
|
||||||
|
|
||||||
# COLIBRIS colinames
|
|
||||||
Host colibbb
|
|
||||||
HostName 88.99.95.38
|
|
||||||
User root
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colitube
|
|
||||||
HostName video.colibris-outilslibres.org
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colipad
|
|
||||||
HostName pad.colibris-outilslibres.org
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colichat
|
|
||||||
HostName 144.76.3.3
|
|
||||||
Port 22001
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host coliboutique
|
|
||||||
HostName 176.9.59.51
|
|
||||||
Port 22
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host coliweb
|
|
||||||
HostName 95.217.77.254
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colicloud
|
|
||||||
HostName 135.181.166.113
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colicarto
|
|
||||||
HostName 135.181.166.113
|
|
||||||
Port 4222
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colihost
|
|
||||||
HostName postit.colibris-outilslibres.org
|
|
||||||
Port 22001
|
|
||||||
User admin
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# COLIBRIS
|
|
||||||
Host CartoDev
|
|
||||||
User admin
|
|
||||||
HostName carto-dev.colibris-outilslibres.org
|
|
||||||
Port 22102
|
|
||||||
|
|
||||||
Host hebergement
|
|
||||||
User admin
|
|
||||||
HostName hebergement.colibris-lemouvement.org
|
|
||||||
Port 4222
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colibrisweb
|
|
||||||
HostName colibris.cc
|
|
||||||
Port 22
|
|
||||||
User admin
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
Host colibrishost
|
|
||||||
HostName postit.colibris-outilslibres.org
|
|
||||||
Port 22001
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
User admin
|
|
||||||
|
|
||||||
Host colibrispad
|
|
||||||
HostName pad.colibris-outilslibres.org
|
|
||||||
Port 22101
|
|
||||||
User admin
|
|
||||||
|
|
||||||
Host colibrispadpostgres
|
|
||||||
HostName pad.colibris-outilslibres.org
|
|
||||||
Port 22101
|
|
||||||
User postgres
|
|
||||||
|
|
||||||
Host colibrishostweb
|
|
||||||
HostName 144.76.3.3
|
|
||||||
Port 22001
|
|
||||||
User admin
|
|
||||||
IdentitiesOnly yes
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
|
|
||||||
# framasoft
|
|
||||||
Host framagit.org
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
User git
|
|
||||||
Port 22
|
|
||||||
|
|
||||||
# coopaname yeswiki test
|
|
||||||
Host coopaname
|
|
||||||
HostName 85.118.37.83
|
|
||||||
User florian
|
|
||||||
Port 51026
|
|
||||||
'';
|
'';
|
||||||
|
plugins = [
|
||||||
|
"git"
|
||||||
|
"ssh-agent"
|
||||||
|
];
|
||||||
|
# theme = "robbyrussell";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.ssh-agent.enable = true;
|
||||||
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue