!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

312 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org88 Servers

Load older messages


SenderMessageTime
3 Jun 2024
@sahilkm:matrix.orgSahilthat sucks thank you for the help19:59:03
@k900:0upti.meK900Maybe try monitoring the temperatures19:59:13
@sahilkm:matrix.orgSahilsure, will take a look next time i can boot it 19:59:43
@k900:0upti.meK900Instantly powering down is what a lot of especially older x86 does when overheated19:59:48
@sahilkm:matrix.orgSahilRedacted or Malformed Event20:20:06
@sahilkm:matrix.orgSahil *

my open ssh printed this

Broadcast

The system will suspend now!
20:20:16
@sahilkm:matrix.orgSahilRedacted or Malformed Event20:20:33
@sahilkm:matrix.orgSahilI believe the issue was that the computer was suspending, i turned powerManagement off is that a bad idea20:34:50
@sahilkm:matrix.orgSahil * I believe the issue was that the computer was suspending, i turned powerManagement off is that a bad idea/is wol a better alternative20:37:58
4 Jun 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius.11:14:52
@ibizaman:matrix.orgibizaman joined the room.18:54:32
@mattleon:matrix.orgmattleon joined the room.21:35:01
6 Jun 2024
@shoglofi:matrix.org@shoglofi:matrix.org joined the room.17:33:03
@shoglofi:matrix.org@shoglofi:matrix.org left the room.17:35:13
9 Jun 2024
@keiichi:matrix.orgteto joined the room.21:12:42
11 Jun 2024
@aos1:matrix.orgaos joined the room.15:36:53
12 Jun 2024
@adam:robins.wtfadamcstephensUgh Grafana deprecated grafana-agent12:44:27
@adam:robins.wtfadamcstephensguess i'll deal with that in 24.11 since the alloy module was only just merged12:49:32
@mahmoudk1000:matrix.orgMahmoud joined the room.13:03:50
13 Jun 2024
@griffinht:matrix.orggriffinht joined the room.01:40:50
@steveej0:matrix.orgsteveej

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:matrix.redalder.orgmagic_rb joined the room.19:51:55
14 Jun 2024
@qe7ftcyrpg:matrix.orgFlorian joined the room.19:16:20
15 Jun 2024
@duckl1ng:duckl1ng.xyzduckl1ng joined the room.09:21:37
@steveej0:matrix.orgsteveej
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
@steveej0:matrix.orgsteveej

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
@bhasher:bhasher.com#⏚ joined the room.17:45:14
@steveej0:matrix.orgsteveej
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
@adam:robins.wtfadamcstephensany NVME recommendations? 13:53:19
@hexa:lossy.networkhexaconsumer disks?13:55:37

Show newer messages


Back to Room ListRoom Version: 10