!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

588 Members
NixOS ❤️ systemd164 Servers

Load older messages


SenderMessageTime
23 Jan 2025
@matthewcroughan:defenestrate.itmatthewcroughan * as it seems to be absent from the asahi kernel I'm using for whatever reason 01:37:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgRedacted or Malformed Event01:51:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.orggod dammit of course I figure it out literally one minute after deciding to ping people over it.01:53:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgit's the assertions01:53:25
@elvishjerricco:matrix.org@elvishjerricco:matrix.org* it's the assertions / warnings01:53:31
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Those are evaluated by toplevel and dependent on the partition definitions in image.repart 01:53:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.org matthewcroughan: figured out the CopyBlocks thing 01:55:31
@matthewcroughan:defenestrate.itmatthewcroughanbug fixers unite01:55:57
@matthewcroughan:defenestrate.itmatthewcroughanthanks a lot 01:55:59
@matthewcroughan:defenestrate.itmatthewcroughan

ElvishJerricco:

    #fileSystems."/nix/store".device = "/dev/disk/by-partlabel/nix-store";
    fileSystems."/nix/store" = {
      device = "/sysroot/tmp/store.squashfs";
      fsType = "squashfs";
      options = [ "loop" ];
    };

    boot.initrd.systemd.services.copytoram = {
      before = [ "${utils.escapeSystemdPath "/sysroot/tmp/store.squashfs"}.mount" "initrd-switch-root.target" ];
      serviceConfig.ExecStart = "${pkgs.coreutils}/bin/dd if=/dev/disk/by-partlabel/nix-store of=/sysroot/tmp/store.squashfs";
      requiredBy = [ "initrd.target" ];
    };

01:58:33
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea I have no idea how to fix this :P01:58:36
@matthewcroughan:defenestrate.itmatthewcroughanAnything obviously missing here 01:58:37
@matthewcroughan:defenestrate.itmatthewcroughanI end up with Failed to mount /sysroot/nix/store 01:58:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.org yea you need to order after the device and before the /sysroot/nix/store mount 01:59:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgi.e.01:59:29
@matthewcroughan:defenestrate.itmatthewcroughanhow does it even become this string?01:59:30
@matthewcroughan:defenestrate.itmatthewcroughan /sysroot/nix/store isn't what I said, I said /sysroot/tmp/store.squashfs 01:59:46
@matthewcroughan:defenestrate.itmatthewcroughanah okay the sysroot is prepended by systemd02:00:01
@matthewcroughan:defenestrate.itmatthewcroughan and my mount is /nix/store 02:00:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
before = [ "sysroot-nix-store.mount" ];
after = [ "dev-disk-by\\x2dpartlabel-nix\\x2dstore.device" ];
02:00:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.org *
before = [ "sysroot-nix-store.mount" ];
after = [ "dev-disk-by\\x2dpartlabel-nix\\x2dstore.device" ];
requires = [ "dev-disk-by\\x2dpartlabel-nix\\x2dstore.device" ];
02:00:24
@matthewcroughan:defenestrate.itmatthewcroughandid you just escape that purely by memory and hand?02:00:30
@elvishjerricco:matrix.org@elvishjerricco:matrix.org nah, systemd-escape CLI tool :P 02:00:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut I could have02:00:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgjust faster to copy/paste02:00:59
@matthewcroughan:defenestrate.itmatthewcroughan flex 02:01:26
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯ joined the room.02:01:36
@matthewcroughan:defenestrate.itmatthewcroughanYo'ure a systemd-ultra, I see02:01:38
@matthewcroughan:defenestrate.itmatthewcroughan * You're a systemd-ultra, I see02:01:42
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglol02:01:46

Show newer messages


Back to Room ListRoom Version: 6