!oNSIfazDqEcwhcOjSL:matrix.org

disko

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

Load older messages


SenderMessageTime
2 Jan 2026
@belak:matrix.orgbelak

Specifically the nesting of drive -> luks/lvm_pv -> lvm_vg -> partition is pretty frustrating, and naming is really confusing so I'm having a hard time following it...

Like if I have main (drive) -> crypted (maybe crypted-main or luks-main if it needs to be unique) -> main (maybe vg-main if it needs to be unique) -> root and storage (drive) -> crypted (maybe crypted-storage or luks-storage) -> storage (or vg-storage) -> data

This works, but there's a lot of duplication and the structure is relatively unclear unless you really dig into it.
Is there a better way to do that or best practices around luks?

07:34:23
@belak:matrix.orgbelak Playing around with it and using :lf . to experiment, yes - luks names need to be unique 08:00:50
@belak:matrix.orgbelak I also prefixed my vg's with vg- because they end up as /dev/vg-main/root 08:01:37
@ed209a:matrix.orged209
In reply to @belak:matrix.org
Playing around with it and using :lf . to experiment, yes - luks names need to be unique
yeah i was gonna say the name ends up in /dev/mapper/<name>
12:47:36
@belak:matrix.orgbelak It was mostly that I wasn't sure if disko made combined names, similar to /dev/disk/by-partlabel, where it makes disk-{disk name}-{part name} labels 18:19:12
3 Jan 2026
@janik0:matrix.orgJanik (they/them) changed their profile picture.13:14:41
@janik0:matrix.orgJanik (they/them) changed their profile picture.13:15:18
@tanja:catgirl.cloudTanja (she/her) changed their display name from Tanja (she/her) - ☎️ 4201 to Tanja (she/her).19:17:36
4 Jan 2026
@jappie:jappie.devjappie changed their display name from jasper to jappie.10:59:43
@tumble1999:matrix.orgTumblecould i use disko to format a qcow to test a config?12:40:46
@bandithedoge:matrix.orgbandithedoge yes:
https://github.com/nix-community/disko/blob/master/docs/interactive-vm.md
https://github.com/nix-community/disko/blob/master/docs/disko-images.md
16:17:18
@josw:matrix.org@josw:matrix.org left the room.18:03:43
@tumble1999:matrix.orgTumbledo i have to create a system config?22:16:34
6 Jan 2026
@zed:mozilla.orgzed joined the room.20:07:12
@zed:mozilla.orgzedHello there ! I'm new to disko (and nix/nixos in general 😓), and I was wondering if once I have a system setup with a certain layout with disko (let's say LVM, and then 2 LVs)... changing the disk-config by adding an lv will be done incrementally or will destroy everything ?20:12:18
@lassulus:lassul.uslassulusnothing will happen, the new things won't get applied. you need to run the format script manually if you want those changes to have an effect, but better check the script before running it, since that support is kinda undertested20:18:36
@zed:mozilla.orgzedthanks, I'll check the script then :)20:19:58
8 Jan 2026
@pltrz_:matrix.orgpltrz set a profile picture.23:49:54
9 Jan 2026
@pltrz_:matrix.orgpltrz changed their profile picture.00:00:08
10 Jan 2026
@tumble1999:matrix.orgTumblei want to make a singular disko.nix config with params, of {osDrive, homeDrive, zfsName, zfsCache, zfsDrives}, and depending on witch of these are defined or not, then produce a disko config, but i dont think i can have null drives or even remove properties from an attribe set11:24:21
@tumble1999:matrix.orgTumblewait maybe ++ could help11:27:08
@tumble1999:matrix.orgTumblei mean //11:27:30
@tumble1999:matrix.orgTumbleok good this might work11:30:33
@tumble1999:matrix.orgTumbleclipboard.png
Download clipboard.png
11:30:35
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as left the room.11:46:51
@tumble1999:matrix.orgTumbleclipboard.png
Download clipboard.png
12:10:46
@tumble1999:matrix.orgTumbleclipboard.png
Download clipboard.png
12:10:47
@tumble1999:matrix.orgTumbleclipboard.png
Download clipboard.png
12:10:59
@tumble1999:matrix.orgTumbleWoah, I was struggling with this last week, now I have a great starting point, amazing12:57:32
11 Jan 2026
@padarom:matrix.orgtoph set a profile picture.20:52:50

Show newer messages


Back to Room ListRoom Version: 10