Compare commits
No commits in common. "4cefc1a9faa0dc84caf716b2570b3505a2ef545a" and "a09c2872ea8867e3d556c3ab1a9e6483ca72c79a" have entirely different histories.
4cefc1a9fa
...
a09c2872ea
Before Width: | Height: | Size: 136 KiB |
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 317 KiB After Width: | Height: | Size: 535 KiB |
Before Width: | Height: | Size: 144 KiB |
|
@ -34,13 +34,13 @@
|
||||||
<h1>IDs</h1>
|
<h1>IDs</h1>
|
||||||
<li>NPUB: npub1nmk2399jazpsup0vsm6dzxw7gydzm5atedj4yhdkn3yx7jh7tzpq842975</li>
|
<li>NPUB: npub1nmk2399jazpsup0vsm6dzxw7gydzm5atedj4yhdkn3yx7jh7tzpq842975</li>
|
||||||
<li>NIP06: iru@ this domain</li>
|
<li>NIP06: iru@ this domain</li>
|
||||||
<li>LNURL: iru@ this domain</li>
|
<li>GPG: 346E183810495044247B679588AC275438296481</li>
|
||||||
<li>GPG: 0DE8AAA9F5DA9CCB3F3F3B8E14566DCEC81EF576</li>
|
<li>Matrix: iru@ this domain</li>
|
||||||
|
<li>Stacker News: @iru_</li>
|
||||||
<li>Github: irusensei</li>
|
<li>Github: irusensei</li>
|
||||||
<h1>Long form notes</h1>
|
<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>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>
|
<h1>Other stuff</h1>
|
||||||
<li><a href="https://code.despera.space/mirrors">I keep mirrors of repos I use or feel like having preserved</a>.</li>
|
<li><a href="https://code.despera.space/mirrors">I keep mirrors of repos I use or feel like having recorded</a>.</li>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# How I put NixOS on my UDM (trashcan model) router
|
# 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)
|
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.
|
Really it's just a running NixOS on systemd-nspawn thing.
|
||||||
|
@ -88,7 +85,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
|
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
|
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
|
the UDM I suspect it might be a painful process due to CPU performance and
|
||||||
space constraints. Here is an [example with Home Assistant, Caddy and Tailscale](https://code.despera.space/iru/nspawn-nixos/src/branch/main/configuration.nix).
|
space constraints.
|
||||||
|
|
||||||
The image will be available under
|
The image will be available under
|
||||||
`./result/tarball/nixos-system-aarch64-linux.tar.xz`. Use scp to send this to
|
`./result/tarball/nixos-system-aarch64-linux.tar.xz`. Use scp to send this to
|
||||||
|
@ -144,6 +141,7 @@ Connection to machine udmnixos terminated.
|
||||||
Finally we can login into the container.
|
Finally we can login into the container.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
# machinectl login nixos
|
||||||
# machinectl login udmnixos
|
# machinectl login udmnixos
|
||||||
Connected to machine udmnixos. Press ^] three times within 1s to exit session.
|
Connected to machine udmnixos. Press ^] three times within 1s to exit session.
|
||||||
|
|
||||||
|
@ -165,6 +163,9 @@ https://www.freedesktop.org/software/systemd/man/latest/systemd-nspawn.html#-n
|
||||||
|
|
||||||
```
|
```
|
||||||
# machinectl stop udmnixos
|
# 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
|
## Networking and Persistence
|
||||||
|
|