Skip to content

Commit 2219d61

Browse files
committed
Some exciting updates
1 parent cb8e525 commit 2219d61

File tree

6 files changed

+289
-271
lines changed

6 files changed

+289
-271
lines changed

.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use_nix

docs/HomeOps/NAS.md

+216-240
Large diffs are not rendered by default.

docs/HomeOps/index.md

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
<h1 align="center">
2-
Home Ops
3-
<br />
4-
<br />
5-
<img src="https://i.imgur.com/IOkvNr4.png" width="200" height="200">
6-
</h1>
7-
<br />
8-
<div align="center">
1+
<figure markdown>
2+
![header](./header.png){ width="200" }
3+
<figcaption><h1>Home Ops</h1></figcaption>
4+
</figure>
95

10-
</div>
116

127
---
138

@@ -36,12 +31,12 @@ My primary tools for managing my infra:
3631

3732
| Device | Count | OS Disk Size | Data Disk Size | Ram | Purpose |
3833
|-----------------------------------------|-------|-----------------------|------------------------------------------|--------|------------------------------------------------------------------------------------------|
39-
| Supermicro X11SCH-F, Intel Core i3-8100 | 1 | 512GB SSD | 4x8TB ZFS, 8x12 TB ZFS, 2x1.8TB NVME ZFS | 64GB ECC | NAS |
34+
| [Supermicro X11SCH-F, Intel Core i3-8100](./NAS) | 1 | 512GB SSD | 4x8TB ZFS, 8x12 TB ZFS, 2x1.8TB NVME ZFS | 64GB ECC | [NAS](./NAS) |
4035
| Intel NUC 10 i7FNH | 3 | 256 GB NVMe (via USB) | 2TB NVMe Ceph, 2TB SDD Ceph | 64GB | [Proxmox][proxmox] Hypervisor, [Talos][talos], [Ceph][ceph] Nodes |
4136
| Intel NUC 10 i5FNH | 1 | 256 GB NVMe (via USB) | 800MB NVMe Ceph, 2TB SDD Ceph | 64GB | Proxmox Hypervisor, [Talos][talos], [Ceph][ceph] Nodes |
4237
| Intel NUC 12 WSH i50002 | 1 | 256 GB | 800MB NVMe Ceph, 2TB SSD Ceph | 64GB | Proxmox Hypervisor, [Talos][talos], [Ceph][ceph] Nodes |
4338
| Raspberry PI 3 B | 3 | 8GB MMC | N/A | 512 MB | dns1, dns2, wan-lte-failover |
44-
| Raspberry PI 4 | 4 | 8GB MMC | N/A | 2GB | [octoprint][octoprint], [mycroft/ovos][ovos], [zigbee2mqtt][zigbee2mqtt], [pikvm][pikmv] |
39+
| Raspberry PI 4 | 4 | 8GB MMC | N/A | 2GB | [octoprint][octoprint], [mycroft/ovos][ovos], [zigbee2mqtt][zigbee2mqtt], [pikvm][pikvm] |
4540

4641
[proxmox]: https://www.proxmox.com/en/
4742
[zigbee2mqtt]: https://www.zigbee2mqtt.io/

mkdocs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ markdown_extensions:
4848
- meta
4949
- attr_list
5050
- footnotes
51+
- md_in_html
5152
- pymdownx.details
5253
- pymdownx.emoji
5354
- pymdownx.highlight
5455
- pymdownx.magiclink
5556
- pymdownx.superfences
57+
- pymdownx.details
5658
- pymdownx.tabbed
5759
- pymdownx.tasklist
5860
- toc:

requirements.frozen.txt

+31-20
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,43 @@
1-
certifi==2022.12.7
2-
charset-normalizer==3.0.1
3-
click==8.1.3
1+
Babel==2.12.1
2+
beautifulsoup4==4.12.2
3+
certifi==2023.7.22
4+
charset-normalizer==3.2.0
5+
click==8.1.7
46
colorama==0.4.6
57
csscompressor==0.9.5
8+
cssselect==1.2.0
69
ghp-import==2.1.0
7-
htmlmin==0.1.12
10+
htmlmin2==0.1.13
811
idna==3.4
912
Jinja2==3.1.2
1013
jsmin==3.0.1
11-
Markdown==3.3.7
12-
MarkupSafe==2.1.2
14+
lxml==4.9.3
15+
Markdown==3.4.4
16+
markdown2==2.4.10
17+
MarkupSafe==2.1.3
1318
mergedeep==1.3.4
14-
mkdocs==1.4.2
15-
mkdocs-macros-plugin==0.7.0
16-
mkdocs-material==9.0.12
19+
mkdocs==1.5.2
20+
mkdocs-macros-plugin==1.0.4
21+
mkdocs-material==9.2.6
1722
mkdocs-material-extensions==1.1.1
18-
mkdocs-minify-plugin==0.6.2
19-
mkdocs-roamlinks-plugin==0.2.0
23+
mkdocs-minify-plugin==0.7.1
24+
mkdocs-roamlinks-plugin==0.3.2
2025
mkdocs-section-index==0.3.5
21-
packaging==23.0
22-
Pygments==2.14.0
23-
pymdown-extensions==9.9.2
26+
packaging==23.1
27+
paginate==0.5.6
28+
pathspec==0.11.2
29+
platformdirs==3.10.0
30+
Pygments==2.16.1
31+
pymdown-extensions==10.2.1
32+
pyquery==2.0.0
2433
python-dateutil==2.8.2
25-
PyYAML==6.0
34+
PyYAML==6.0.1
2635
pyyaml_env_tag==0.1
27-
regex==2022.10.31
28-
requests==2.28.2
36+
readtime==3.0.0
37+
regex==2023.8.8
38+
requests==2.31.0
2939
six==1.16.0
30-
termcolor==2.2.0
31-
urllib3==1.26.14
32-
watchdog==2.2.1
40+
soupsieve==2.4.1
41+
termcolor==2.3.0
42+
urllib3==2.0.4
43+
watchdog==3.0.0

shell.nix

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{ system ? "x86_64-linux", pkgs ? import <nixpkgs> { inherit system; } }:
2+
3+
let
4+
packages = [
5+
pkgs.python311
6+
pkgs.poetry
7+
pkgs.watchexec
8+
pkgs.zsh
9+
];
10+
11+
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
12+
pkgs.stdenv.cc.cc
13+
# Add any missing library needed
14+
# You can use the nix-index package to locate them, e.g. nix-locate -w --top-level --at-root /lib/libudev.so.1
15+
];
16+
17+
# Put the venv on the repo, so direnv can access it
18+
POETRY_VIRTUALENVS_IN_PROJECT = "true";
19+
POETRY_VIRTUALENVS_PATH = "{project-dir}/.venv";
20+
21+
# Use python from path, so you can use a different version to the one bundled with poetry
22+
POETRY_VIRTUALENVS_PREFER_ACTIVE_PYTHON = "true";
23+
in
24+
pkgs.mkShell {
25+
buildInputs = packages;
26+
shellHook = ''
27+
export SHELL=${pkgs.zsh}
28+
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
29+
export POETRY_VIRTUALENVS_IN_PROJECT="${POETRY_VIRTUALENVS_IN_PROJECT}"
30+
export POETRY_VIRTUALENVS_PATH="${POETRY_VIRTUALENVS_PATH}"
31+
export POETRY_VIRTUALENVS_PREFER_ACTIVE_PYTHON="${POETRY_VIRTUALENVS_PREFER_ACTIVE_PYTHON}"
32+
'';
33+
}

0 commit comments

Comments
 (0)