Compare commits

...

10 commits

Author SHA1 Message Date
Iru Sensei 4cefc1a9fa . 2024-07-29 15:01:26 +02:00
Iru Sensei c2e9c83021 . 2024-07-24 17:31:08 +02:00
Iru Sensei 78b1c19b8b add fastfetch 2024-05-19 21:51:49 +02:00
Iru Sensei ac36b91126 add fastfetch 2024-05-19 21:43:18 +02:00
Iru Sensei eedb85f284 add example 2024-05-19 21:13:56 +02:00
Iru Sensei e7b66e758d add example 2024-05-19 21:09:23 +02:00
Iru Sensei e156bcbbbd index 2024-05-19 16:16:25 +02:00
Iru Sensei ac3f15dc27 udm-nixos 2024-05-19 16:14:42 +02:00
Iru Sensei 3afa6145c6 udm-nixos 2024-05-19 16:11:45 +02:00
Iru Sensei ccb0be5096 udm-nixos 2024-05-19 15:56:40 +02:00
7 changed files with 8 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 KiB

After

Width:  |  Height:  |  Size: 317 KiB

BIN
assets/img/trashcan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

View file

@ -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>

View file

@ -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