!oNSIfazDqEcwhcOjSL:matrix.org

disko

363 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

Load older messages


SenderMessageTime
17 Feb 2024
@lassulus:lassul.uslassuluspff04:56:34
@matthewcroughan:defenestrate.itmatthewcroughanit works, undeniably04:56:41
@matthewcroughan:defenestrate.itmatthewcroughanbut still would be good to know where it is being used 04:56:56
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @lassulus:lassul.us
but hybrid gpt/mbr is only useful if you bootloader doesn't support gpt. and there is a fallback to mbr. but if uboot supports efi than it doesn't need to care for the mbr stuff?
the raspberry pi has boot firmware that only supports loading from mbr fat32, bootcode.bin must reside there
04:57:21
@lassulus:lassul.uslassulusit should work with 512m in the vm04:57:24
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @lassulus:lassul.us
it should work with 512m in the vm
yeah and I'm saying that tests that fail with 512M without zram, succeed with zram
04:58:13
@matthewcroughan:defenestrate.itmatthewcroughanwhich makes me question why we don't just enable zram generally in all VMs04:58:27
@lassulus:lassul.uslassulusthat sounds like a bug04:58:30
@matthewcroughan:defenestrate.itmatthewcroughanwell yeah, it's not good to mask issues, but it made me wonder how it could also improve performance04:58:47
@matthewcroughan:defenestrate.itmatthewcroughanwould a test that never fails, but reports used memory in the VM be a useful thing?05:00:19
@matthewcroughan:defenestrate.itmatthewcroughando we have a test that reports information and does not fail right now?05:00:47
@lassulus:lassul.uslassulusnot yet05:01:09
@matthewcroughan:defenestrate.itmatthewcroughanmaybe I should make a test that fails if the VM ever consumes more than 512 instead05:01:18
@matthewcroughan:defenestrate.itmatthewcroughanAre there not tests already failing like this?05:01:36
@lassulus:lassul.uslassuluswell first it would be nice to profile the build and see what consumes the memory05:01:41
@lassulus:lassul.uslassulusthe tests seem to work05:01:49
@lassulus:lassul.uslassuluswith the default amount of memory05:01:54
@matthewcroughan:defenestrate.itmatthewcroughanYeah I think it was something I did that caused it, hmm05:02:01
18 Feb 2024
@hxr404:tchncs.dehxr404 ✨ [it/she] changed their display name from hxr404 ✨ (they/them) to hxr404 ✨ [they/them] (offline).00:19:33
@hxr404:tchncs.dehxr404 ✨ [it/she]

Heyy :3
Is it somehow possible to set up bind mounts via disko?
I tried

nodev = {
  "/nix/store" = {
    fsType = "tmpfs";
    device = "/data/local/nix/store";
    mountOptions = [ "bind" ];
  };
}

doesn't throw an error, but also sadly doesn't do anything :(

00:36:34
@hxr404:tchncs.dehxr404 ✨ [it/she] *

Heyy :3
Is it somehow possible to set up bind mounts via disko?
I tried

nodev = {
  "/nix/store" = {
    fsType = "tmpfs";
    device = "/data/local/nix/store";
    mountOptions = [ "bind" ];
  };
};

doesn't throw an error, but also sadly doesn't do anything :(

00:37:08
@hxr404:tchncs.dehxr404 ✨ [it/she] *

Heyy :3
Is it somehow possible to set up bind mounts via disko?
I tried

disko.devices.nodev = {
  "/nix/store" = {
    fsType = "tmpfs";
    device = "/data/local/nix/store";
    mountOptions = [ "bind" ];
  };
};

doesn't throw an error, but also sadly doesn't do anything :(

00:40:42
@lassulus:lassul.uslassulus usually bind mounts are just managed with fileSystems.${target} = { device = src; options = [ "bind" ]; };01:55:05
@lassulus:lassul.uslassulusBut if you need them for installation you need to mount them in a hook manually 01:56:01
@hxr404:tchncs.dehxr404 ✨ [it/she] thanks a lot! <3 grepped through the _documentation as code_™, found the hooks options (didn't know it exists), this exactly what I needed yay \o/ 02:17:51
@hxr404:tchncs.dehxr404 ✨ [it/she] * thanks a lot! <3 grepped through the _documentation as code_™, found the hooks options (didn't know it exists), this exactly what I needed yay \o/ 02:18:03
@hxr404:tchncs.dehxr404 ✨ [it/she]quick follow-up question: How would I get the root mount point inside a hook? Don't want to hardcode /mnt02:48:16
23 Feb 2024
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de changed their profile picture.03:28:34
22 Feb 2024
@glepage:matrix.orgGaétan Lepage joined the room.16:39:51
23 Feb 2024
@ryan4yi:matrix.orgRyan Yin joined the room.05:47:35

Show newer messages


Back to Room ListRoom Version: 10