| 17 Feb 2024 |
matthewcroughan | Are there not tests already failing like this? | 05:01:36 |
lassulus | well first it would be nice to profile the build and see what consumes the memory | 05:01:41 |
lassulus | the tests seem to work | 05:01:49 |
lassulus | with the default amount of memory | 05:01:54 |
matthewcroughan | Yeah I think it was something I did that caused it, hmm | 05:02:01 |
| 18 Feb 2024 |
| hxr404 ✨ [it/she] changed their display name from hxr404 ✨ (they/them) to hxr404 ✨ [they/them] (offline). | 00:19:33 |
hxr404 ✨ [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 ✨ [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 ✨ [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 |
usually bind mounts are just managed with fileSystems.${target} = { device = src; options = [ "bind" ]; }; | 01:55:05 |
lassulus | But if you need them for installation you need to mount them in a hook manually | 01:56:01 |
hxr404 ✨ [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 ✨ [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 ✨ [it/she] | quick follow-up question:
How would I get the root mount point inside a hook? Don't want to hardcode /mnt | 02:48:16 |
| 23 Feb 2024 |
| @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de changed their profile picture. | 03:28:34 |
| 22 Feb 2024 |
| Gaétan Lepage joined the room. | 16:39:51 |
| 23 Feb 2024 |
| Ryan Yin joined the room. | 05:47:35 |
Gaétan Lepage | Thank you for the great project !
It is a blast to use, especially as a NixOS module | 13:12:53 |
| 25 Feb 2024 |
| Rosuavio joined the room. | 15:14:01 |
| 26 Feb 2024 |
@palo:xaos.space | Partitions are a dict now. How does disko know this block blongs on the beginning of a partition?
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
I guess I can use start and stop, but alle the examples use size. | 07:52:10 |
@palo:xaos.space | Hmm start and end does not work as well. I'm asking because I get :
+ sgdisk --align-end --new=2:0:1M --change-name=2:disk-sda-boot --typecode=2:EF02 /dev/sda
Could not create partition 2 from 1026048 to 2048
I want this partition to be the first, not the second. | 08:01:19 |
phaer | In reply to @palo:xaos.space
Partitions are a dict now. How does disko know this block blongs on the beginning of a partition?
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
I guess I can use start and stop, but alle the examples use size. There's a priority option on each partition to sort them. Smaller values should be created first | 11:19:54 |
@palo:xaos.space | Ah, I see. Thank you | 11:53:19 |
| pbsds joined the room. | 14:06:52 |
| realmchad joined the room. | 23:08:49 |
| 27 Feb 2024 |
| shlevy joined the room. | 18:11:42 |
shlevy | Does disko support multi-disk btrfs setups? | 18:12:04 |
matthewcroughan | sure does, just a matter of defining it in the module system | 18:12:39 |
matthewcroughan | https://github.com/nix-community/disko/blob/master/example/btrfs-subvolumes.nix | 18:12:56 |
matthewcroughan | https://github.com/nix-community/disko/issues/543 | 18:13:11 |