Compare commits
10 commits
a09c2872ea
...
4cefc1a9fa
Author | SHA1 | Date | |
---|---|---|---|
Iru Sensei | 4cefc1a9fa | ||
Iru Sensei | c2e9c83021 | ||
Iru Sensei | 78b1c19b8b | ||
Iru Sensei | ac36b91126 | ||
Iru Sensei | eedb85f284 | ||
Iru Sensei | e7b66e758d | ||
Iru Sensei | e156bcbbbd | ||
Iru Sensei | ac3f15dc27 | ||
Iru Sensei | 3afa6145c6 | ||
Iru Sensei | ccb0be5096 |
BIN
assets/img/cursed_udm_fetch.png
Normal file
After Width: | Height: | Size: 136 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 193 KiB |
BIN
assets/img/she_doesnt_exist.png
Normal file
After Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 535 KiB After Width: | Height: | Size: 317 KiB |
BIN
assets/img/trashcan.png
Normal file
After Width: | Height: | Size: 144 KiB |
|
@ -34,13 +34,13 @@
|
|||
<h1>IDs</h1>
|
||||
<li>NPUB: npub1nmk2399jazpsup0vsm6dzxw7gydzm5atedj4yhdkn3yx7jh7tzpq842975</li>
|
||||
<li>NIP06: iru@ this domain</li>
|
||||
<li>GPG: 346E183810495044247B679588AC275438296481</li>
|
||||
<li>Matrix: iru@ this domain</li>
|
||||
<li>Stacker News: @iru_</li>
|
||||
<li>LNURL: iru@ this domain</li>
|
||||
<li>GPG: 0DE8AAA9F5DA9CCB3F3F3B8E14566DCEC81EF576</li>
|
||||
<li>Github: irusensei</li>
|
||||
<h1>Long form notes</h1>
|
||||
<li>Running popular AI software on Linux and AMD GPUs: <a href="https://habla.news/a/naddr1qqxnzd3ex56rwvfexvurxwfjqgsfam9gjjew3qcwqhkgdax3r80yzx3d6w4uke2jtkmfcjr0ftl93qsrqsqqqa28vfwv5f">note</a>, <a href="https://code.despera.space/iru/htdocs/src/branch/main/notes/AMD-AGI.md">local</a></li>
|
||||
<li>How I put NixOS on my UDM (trashcan model) router: <a href="https://habla.news/a/naddr1qvzqqqr4gupzp8hv4z2t96yrpcz7eph56yvausg69hf6hjm92fwmd8zgda90ukyzqqxnzde3xccnyd3sxver2dfk5j9lzf">note</a>, <a href="https://code.despera.space/iru/htdocs/src/branch/main/notes/UDM-NIXOS.md">local</a>
|
||||
<h1>Other stuff</h1>
|
||||
<li><a href="https://code.despera.space/mirrors">I keep mirrors of repos I use or feel like having recorded</a>.</li>
|
||||
<li><a href="https://code.despera.space/mirrors">I keep mirrors of repos I use or feel like having preserved</a>.</li>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# How I put NixOS on my UDM (trashcan model) router
|
||||
|
||||
![A rare cursed fetch!](https://despera.space/assets/img/cursed_udm_fetch.png)
|
||||
*a rare cursed fetch!*
|
||||
|
||||
Content also available on [https://code.despera.space/iru/htdocs/src/branch/main/notes/UDM-NIXOS.md](https://code.despera.space/iru/htdocs/src/branch/main/notes/UDM-NIXOS.md)
|
||||
|
||||
Really it's just a running NixOS on systemd-nspawn thing.
|
||||
|
@ -85,7 +88,7 @@ Optionally you could try to edit the configuration to generate an image with
|
|||
everything you need. In case you need something like Home Assistant, some
|
||||
compilation might be necessary and although I haven't tried compiling code on
|
||||
the UDM I suspect it might be a painful process due to CPU performance and
|
||||
space constraints.
|
||||
space constraints. Here is an [example with Home Assistant, Caddy and Tailscale](https://code.despera.space/iru/nspawn-nixos/src/branch/main/configuration.nix).
|
||||
|
||||
The image will be available under
|
||||
`./result/tarball/nixos-system-aarch64-linux.tar.xz`. Use scp to send this to
|
||||
|
@ -141,7 +144,6 @@ Connection to machine udmnixos terminated.
|
|||
Finally we can login into the container.
|
||||
|
||||
```
|
||||
# machinectl login nixos
|
||||
# machinectl login udmnixos
|
||||
Connected to machine udmnixos. Press ^] three times within 1s to exit session.
|
||||
|
||||
|
@ -163,9 +165,6 @@ https://www.freedesktop.org/software/systemd/man/latest/systemd-nspawn.html#-n
|
|||
|
||||
```
|
||||
# machinectl stop udmnixos
|
||||
|
||||
# systemd-nspawn -M udmnixos
|
||||
Directory /data/custom/machines/udmnixos doesn't look like it has an OS tree. Refusing.
|
||||
```
|
||||
|
||||
## Networking and Persistence
|
||||
|
|