22 Oct 2024 |
frontear | How can I create a loopback device on NixOS system activation? Wanted to make a loopback device as part of an ExecStartPre of a systemd service, but it seems the service fails on "Waiting for /loopback/mount". Wrong methodology or is this something I should be doing differently? | 01:04:45 |
frontear | uh oh wait hang on
| 01:05:32 |
frontear | this may be user error | 01:05:39 |
frontear | ugh nope it seems this isnt right. Currently did systemd.services."name".serviceConfig.ExecStartPre = "losetup /dev/loop0 /loop/mount" , systemd times out at a start job for /loop/mount .. Should I be doing this stuff differently? | 01:10:44 |
frontear | 🤦 nevermind i didn't realize that util-linux wasn't part of the path. human error indeed | 01:25:33 |
gdamjan | frontear: if it's just for that service you can use MountImages= | 01:43:44 |
frontear | TIL, I will look at this ty | 01:48:06 |
sigurosa | is it possible to compile a nixos nix store into a tarball and extract it on the remote side? | 03:55:40 |
sigurosa | handwaving the details | 03:55:59 |
ElvishJerricco | sigurosa: You mean like nix-copy-closure / nix copy ? | 04:04:36 |
| mintbear joined the room. | 04:21:06 |
sigurosa | yeah, i guess I dont know how to use it. I was hoping to build an image in a tarball or something, transfer it over and extrac it | 04:34:35 |
sigurosa | then activate it | 04:34:38 |
sigurosa | i'll check out nix copy | 04:34:52 |
| human joined the room. | 04:49:15 |
mjm | It works via SSH | 05:01:56 |
bumperboat | curious if anyone is working on nixos tests for netfilter that would prevent kernel 6.6.57 from passing ci | 05:55:43 |
Emil Thorsøe | In reply to @sr.estegosaurio:matrix.org I'm loosing so much sanity here that as soon as I made an up-to-date backup I'm going to try reinstalling. On a reproducible system using root-on-tmpfs. welcome to the cult | 05:56:52 |
K900 | In reply to @bumperboat:matrix.org curious if anyone is working on nixos tests for netfilter that would prevent kernel 6.6.57 from passing ci Upstream did add a test for this | 06:02:52 |
K900 | Supposedly | 06:03:10 |
Emil Thorsøe | like while tests exist, I do feel linux is not actually having reasonably comprehensive use of tests in general | 06:04:04 |
Emil Thorsøe | like I run open source tests for work on open source and they do not often pass | 06:04:37 |
K900 | In reply to @jkarlson:kapsi.fi like while tests exist, I do feel linux is not actually having reasonably comprehensive use of tests in general Oh yes definitely | 06:05:03 |
K900 | The kernel still doesn't have a single point of CI | 06:05:11 |
K900 | Which is insane to me | 06:05:15 |
| aldrenean joined the room. | 06:05:34 |
aldrenean | hey guys, I'm pulling my hair out here: I'm trying to run r2modman, which has a nix package that works fine, but it's outdated. When I download the current AppImage and run it with appimage-run, it works, but fails when trying to launch games through steam, with an error about missing 32-bit libraries. Is there any way to resolve this relatively easily? | 06:07:45 |
kyepotta | have you tried running r2modman under steam-run | 06:08:33 |
aldrenean | yeah, it still gives the same error about missing 32-bit libraries | 06:09:17 |
K900 | 24.05 or unstable? | 06:09:21 |