3 Jun 2024 |
Sahil | that sucks thank you for the help | 19:59:03 |
K900 | Maybe try monitoring the temperatures | 19:59:13 |
Sahil | sure, will take a look next time i can boot it | 19:59:43 |
K900 | Instantly powering down is what a lot of especially older x86 does when overheated | 19:59:48 |
Sahil | Redacted or Malformed Event | 20:20:06 |
Sahil | * my open ssh printed this
Broadcast
The system will suspend now!
| 20:20:16 |
Sahil | Redacted or Malformed Event | 20:20:33 |
Sahil | I believe the issue was that the computer was suspending, i turned powerManagement off is that a bad idea | 20:34:50 |
Sahil | * I believe the issue was that the computer was suspending, i turned powerManagement off is that a bad idea/is wol a better alternative | 20:37:58 |
4 Jun 2024 |
| raitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius. | 11:14:52 |
| ibizaman joined the room. | 18:54:32 |
| mattleon joined the room. | 21:35:01 |
6 Jun 2024 |
| @shoglofi:matrix.org joined the room. | 17:33:03 |
| @shoglofi:matrix.org left the room. | 17:35:13 |
9 Jun 2024 |
| teto joined the room. | 21:12:42 |
11 Jun 2024 |
| aos joined the room. | 15:36:53 |
12 Jun 2024 |
adamcstephens | Ugh Grafana deprecated grafana-agent | 12:44:27 |
adamcstephens | guess i'll deal with that in 24.11 since the alloy module was only just merged | 12:49:32 |
| Mahmoud joined the room. | 13:03:50 |
13 Jun 2024 |
| griffinht joined the room. | 01:40:50 |
steveej | anyone familiar here with nix-snapshotter? i'm trying to manually run an image with nerdctl and it cannot find resolve the image:
$ sudo -E nerdctl run --privileged --rm "nix:0$(nix build --impure .#image --print-out-paths):latest"
warning: Git tree '/home/steveej/src/steveej/infra' is dirty
INFO[0000] trying next host error="failed to do request: Head \"https://nix:0/v2/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar/manifests/latest\": dial tcp: lookup nix: no such host" host="nix:0"
FATA[0000] failed to resolve reference "nix:0/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar:latest": failed to do request: Head "https://nix:0/v2/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar/manifests/latest": dial tcp: lookup nix: no such host
if i use an image that was previously loaded into the snapshotter via k3s i can run it manually as well. how can i manually load an image?
| 15:49:48 |
| magic_rb joined the room. | 19:51:55 |
14 Jun 2024 |
| Florian joined the room. | 19:16:20 |
15 Jun 2024 |
| duckl1ng joined the room. | 09:21:37 |
steveej | In reply to @steveej0:matrix.org
anyone familiar here with nix-snapshotter? i'm trying to manually run an image with nerdctl and it cannot find resolve the image:
$ sudo -E nerdctl run --privileged --rm "nix:0$(nix build --impure .#image --print-out-paths):latest"
warning: Git tree '/home/steveej/src/steveej/infra' is dirty
INFO[0000] trying next host error="failed to do request: Head \"https://nix:0/v2/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar/manifests/latest\": dial tcp: lookup nix: no such host" host="nix:0"
FATA[0000] failed to resolve reference "nix:0/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar:latest": failed to do request: Head "https://nix:0/v2/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar/manifests/latest": dial tcp: lookup nix: no such host
if i use an image that was previously loaded into the snapshotter via k3s i can run it manually as well. how can i manually load an image?
i figured this one out. it needs to be loaded first:
sudo nix2container load ./result
| 12:09:44 |
steveej | still figuring out how the rest of this should work. i'm point the container to
entrypoint = "${self.nixosConfigurations.default.config.system.build.toplevel}/init";
and when starting that thing can't find any binary. probably it's not setting up the mounts of the nix store paths right.
+ sudo -E nerdctl run --privileged --rm nix:0/nix/store/1aqp8zcvllikmfdapkvpizr0qxxq4hfd-nix-image-mycelium.tar:latest
<<< NixOS Stage 2 >>>
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 78: /nix/store/bm6ijd9ngfxc6b0sllgprkq3z4ckxrwz-util-linux-2.40.1-bin/bin/mount: No such file or directory
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 86: resolvconf: command not found
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 94: tee: command not found
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 146: /run/current-system/systemd/lib/systemd/systemd: No such file or directory
starting systemd...
| 12:12:09 |
| #⏚ joined the room. | 17:45:14 |
steveej | In reply to @steveej0:matrix.org
still figuring out how the rest of this should work. i'm point the container to
entrypoint = "${self.nixosConfigurations.default.config.system.build.toplevel}/init";
and when starting that thing can't find any binary. probably it's not setting up the mounts of the nix store paths right.
+ sudo -E nerdctl run --privileged --rm nix:0/nix/store/1aqp8zcvllikmfdapkvpizr0qxxq4hfd-nix-image-mycelium.tar:latest
<<< NixOS Stage 2 >>>
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 78: /nix/store/bm6ijd9ngfxc6b0sllgprkq3z4ckxrwz-util-linux-2.40.1-bin/bin/mount: No such file or directory
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 86: resolvconf: command not found
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 94: tee: command not found
/nix/store/r9ica7hd8h1v64mkrcvz5jnp2bznb79f-nixos-system-nixos-24.05.20240611.47b604b/init: line 146: /run/current-system/systemd/lib/systemd/systemd: No such file or directory
starting systemd...
it almost works fine now. except the systemd credentials mechanism is broken. the credential directories all show up empty. any idea what the root cause could be there? | 19:30:51 |
16 Jun 2024 |
adamcstephens | any NVME recommendations? | 13:53:19 |
hexa | consumer disks? | 13:55:37 |