!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

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

You have reached the beginning of time (for this room).


SenderMessageTime
15 Jun 2024
@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.wtf@adam:robins.wtfany NVME recommendations? 13:53:19
@hexa:lossy.networkhexaconsumer disks?13:55:37
@hexa:lossy.networkhexalow end? high end?13:55:51
@adam:robins.wtf@adam:robins.wtfwell i don't want to pay enterprise prices, but i want enterprise durability :)13:56:10
@adam:robins.wtf@adam:robins.wtflifespan is probably more important to me than high end speed13:56:36

Show newer messages


Back to Room ListRoom Version: 10