mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 10:37:44 +00:00
Move docs to docs/
This commit is contained in:
parent
d7610f2455
commit
a6b9665856
3 changed files with 0 additions and 0 deletions
11
docs/BROKEN.md
Normal file
11
docs/BROKEN.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Broken Stuff
|
||||
|
||||
- Not broken either but set up Nextcloud exporters.
|
||||
|
||||
- Some Nginx headers were commented out because it collided or something.
|
||||
Idfk. Make them not. Uncomment.
|
||||
|
||||
- QT theme doesn't work.
|
||||
|
||||
- Nushell custom prompt title does not work, as it gets
|
||||
overriden by the shell integration in a split second.
|
12
docs/PORTS.md
Normal file
12
docs/PORTS.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Internal & External Port Numbers
|
||||
|
||||
- 80 and 443 are standard HTTP ports. Let them be.
|
||||
- Same for e-mail ports.
|
||||
- 8000-8999 are internal web application ports.
|
||||
- Every app topic must use 80N0-80N9.
|
||||
- 9000 is the Prometheus port.
|
||||
- Every exporter topic must use 90N0-90N9.
|
||||
- For example, Node exporter can be on 9010.
|
||||
Dovecot can be on 9020, Postfix can be on 9021,
|
||||
and so on.
|
||||
- Haven't decided on redis, kresd etc. ports yet.
|
63
docs/README.md
Normal file
63
docs/README.md
Normal file
|
@ -0,0 +1,63 @@
|
|||
# My NixOS Configurations
|
||||
|
||||
This repository contains my NixOS configurations for all my machines.
|
||||
|
||||
## Bootstrapping
|
||||
|
||||
Here is the script you need to run to get this working:
|
||||
|
||||
> [!IMPORTANT]
|
||||
> You will need to have an SSH key to authorize GitHub with,
|
||||
> and have access to the Ghostty GitHub repository as I
|
||||
> use Ghostty and Ghostty is in private beta at the moment.
|
||||
|
||||
```sh
|
||||
sudo nix-shell --packages git nu nix-output-monitor --command "
|
||||
git clone https://github.com/RGBCube/NixOSConfiguration ~/Configuration
|
||||
cd ~/Configuration
|
||||
hostname -v <host>
|
||||
nu rebuild.nu
|
||||
"
|
||||
```
|
||||
|
||||
`host` is a host selected from the hosts in the `hosts` directory.
|
||||
|
||||
## Applying Changes
|
||||
|
||||
Lets say you have changed the configuration and want to apply the changes
|
||||
to your system. You would have to run the rebuild script:
|
||||
|
||||
```sh
|
||||
./rebuild.nu
|
||||
```
|
||||
|
||||
This runs the script interactively.
|
||||
|
||||
You can also check how the script is used by reading the parameters it takes.
|
||||
|
||||
## License
|
||||
|
||||
```
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023-present RGBCube
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 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 OR COPYRIGHT HOLDERS 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.
|
||||
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue