!oNSIfazDqEcwhcOjSL:matrix.org

disko

360 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko92 Servers

Load older messages


SenderMessageTime
16 Nov 2024
@intergalactic-turtle-fucker:arcticfoxes.net@intergalactic-turtle-fucker:arcticfoxes.netRedacted or Malformed Event13:57:55
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @magic_rb:matrix.redalder.org
did you figure this one out? im trying to do exactly what youre doing right now, i need to setup a bind mount /nix -> /persist/nix
    nodev."/nix" = {
      fsType = "ext4";
      device = "/dev/disk/by-id/ata-SK_hynix_SC311_SATA_128GB_MJ88N52701150940J-part3";
      mountOptions = [
        "X-mount.subdir=nix"
      ];
      preMountHook = ''
        tmpdir=$(mktemp -d)

        mount /dev/disk/by-id/ata-SK_hynix_SC311_SATA_128GB_MJ88N52701150940J-part3 $tmpdir
        mkdir $tmpdir/nix
        umount $tmpdir
      '';
    };

jfc way too complex

14:20:15
17 Nov 2024
@shift:c-base.orgshift joined the room.01:53:28
@orzklv:matrix.org@orzklv:matrix.org joined the room.02:29:01
@shift:c-base.orgshiftAnyone got a bcachefs, encrypted config I could work from?17:08:11
@sigmasquadron:matrix.orgSigmaSquadronLUKS-encrypted bcachefs or bcachefs-encrypted bcachefs?17:08:48
@shift:c-base.orgshiftBcache encrypted. Luka plus bcachefs doesn't make sense to me :)17:09:15
@shift:c-base.orgshift* Bcachefs encrypted. Luks plus bcachefs doesn't make sense to me :)17:09:29
@shift:c-base.orgshift Maybe I need to make @lassulus:lassul.us provide me an example at the next NixOS Berlin Meetup ;P 17:15:55
@lassulus:lassul.uslassulushmm, maybe not implemented yet17:16:39
@shift:c-base.orgshift
In reply to @lassulus:lassul.us
hmm, maybe not implemented yet
I was told as the conference people had it working already. Got promised example configs but never received them, hehe.
17:18:27
@shift:c-base.orgshiftSo possibly.17:18:35
@kamillaova:matrix.orgKamilla 'ova
In reply to@magic_rb:matrix.redalder.org
did you figure this one out? im trying to do exactly what youre doing right now, i need to setup a bind mount /nix -> /persist/nix
https://yaso.su/Ur4CNRQ8
20:40:14
@kamillaova:matrix.orgKamilla 'ova* https://yaso.su/Ur4CNRQ8 https://yaso.su/bHoQgySf20:40:45
@magic_rb:matrix.redalder.orgmagic_rbthats also a valid way, i did it slightly differently20:40:56
18 Nov 2024
@kamillaova:matrix.orgKamilla 'ova
In reply to@magic_rb:matrix.redalder.org
thats also a valid way, i did it slightly differently
how?
07:16:42
@kamillaova:matrix.orgKamilla 'ova
In reply to@magic_rb:matrix.redalder.org
    nodev."/nix" = {
      fsType = "ext4";
      device = "/dev/disk/by-id/ata-SK_hynix_SC311_SATA_128GB_MJ88N52701150940J-part3";
      mountOptions = [
        "X-mount.subdir=nix"
      ];
      preMountHook = ''
        tmpdir=$(mktemp -d)

        mount /dev/disk/by-id/ata-SK_hynix_SC311_SATA_128GB_MJ88N52701150940J-part3 $tmpdir
        mkdir $tmpdir/nix
        umount $tmpdir
      '';
    };

jfc way too complex

ah I see
07:17:18
@kamillaova:matrix.orgKamilla 'ovahmmm07:18:19
@kamillaova:matrix.orgKamilla 'ovaimage.png
Download image.png
07:18:20
@matthewcroughan:defenestrate.itmatthewcroughan

Even today I still get

++ mkdir -p /mnt/nix/store
++ xargs cp --recursive --target /mnt/nix/store
cp: cannot access '/nix/store/jdrm9vk8z5lixyaalnl61wy2gjw64l3h-kmod-blacklist-31+20240202-2ubuntu8': Cannot allocate memory

on the latest disko

16:37:43
@matthewcroughan:defenestrate.itmatthewcroughanbut why 16:37:44
@matthewcroughan:defenestrate.itmatthewcroughanI have never been able to get to the bottom of it 16:44:48
@matthewcroughan:defenestrate.itmatthewcroughanI think it only happens when the toplevel is large 16:50:45
@matthewcroughan:defenestrate.itmatthewcroughan Ah yeah it's because imageSize is too small 16:53:19
@matthewcroughan:defenestrate.itmatthewcroughanbecause there is no automatic calculation because https://github.com/nix-community/disko/pull/465 wasn't good enough to get merged 16:54:45
@shift:c-base.orgshift @matthewcroughan:defenestrate.it: sounds you need to visit c-base on Tuesday to resolve it ;) 16:58:21
@matthewcroughan:defenestrate.itmatthewcroughanI'm not in Berlin sadly 17:03:00
@matthewcroughan:defenestrate.itmatthewcroughanOnly Birkenhead17:03:03
@matthewcroughan:defenestrate.itmatthewcroughanWhich is the new Berlin17:03:07
20 Nov 2024
@inayet:matrix.orgInayet removed their profile picture.00:59:16

Show newer messages


Back to Room ListRoom Version: 10