| 23 Jan 2025 |
matthewcroughan | * as it seems to be absent from the asahi kernel I'm using for whatever reason | 01:37:13 |
@elvishjerricco:matrix.org | Redacted or Malformed Event | 01:51:39 |
@elvishjerricco:matrix.org | god dammit of course I figure it out literally one minute after deciding to ping people over it. | 01:53:13 |
@elvishjerricco:matrix.org | it's the assertions | 01:53:25 |
@elvishjerricco:matrix.org | * it's the assertions / warnings | 01:53:31 |
@elvishjerricco:matrix.org | Those are evaluated by toplevel and dependent on the partition definitions in image.repart | 01:53:46 |
@elvishjerricco:matrix.org | matthewcroughan: figured out the CopyBlocks thing | 01:55:31 |
matthewcroughan | bug fixers unite | 01:55:57 |
matthewcroughan | thanks a lot | 01:55:59 |
matthewcroughan | 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 | yea I have no idea how to fix this :P | 01:58:36 |
matthewcroughan | Anything obviously missing here | 01:58:37 |
matthewcroughan | I end up with Failed to mount /sysroot/nix/store | 01:58:54 |
@elvishjerricco:matrix.org | yea you need to order after the device and before the /sysroot/nix/store mount | 01:59:27 |
@elvishjerricco:matrix.org | i.e. | 01:59:29 |
matthewcroughan | how does it even become this string? | 01:59:30 |
matthewcroughan | /sysroot/nix/store isn't what I said, I said /sysroot/tmp/store.squashfs | 01:59:46 |
matthewcroughan | ah okay the sysroot is prepended by systemd | 02:00:01 |
matthewcroughan | and my mount is /nix/store | 02:00:04 |
@elvishjerricco:matrix.org | before = [ "sysroot-nix-store.mount" ];
after = [ "dev-disk-by\\x2dpartlabel-nix\\x2dstore.device" ];
| 02:00:15 |
@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 | did you just escape that purely by memory and hand? | 02:00:30 |
@elvishjerricco:matrix.org | nah, systemd-escape CLI tool :P | 02:00:41 |
@elvishjerricco:matrix.org | but I could have | 02:00:42 |
@elvishjerricco:matrix.org | just faster to copy/paste | 02:00:59 |
matthewcroughan | flex | 02:01:26 |
| ˈt͡sɛːzaɐ̯ joined the room. | 02:01:36 |
matthewcroughan | Yo'ure a systemd-ultra, I see | 02:01:38 |
matthewcroughan | * You're a systemd-ultra, I see | 02:01:42 |
@elvishjerricco:matrix.org | lol | 02:01:46 |