!oNSIfazDqEcwhcOjSL:matrix.org

disko

375 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko96 Servers

Load older messages


SenderMessageTime
14 Feb 2026
@x10an14:matrix.orgx10an14

Hi! I'm also struggling with a Disko/ZFS issue.

I've set options.mountpoint = "legacy".
But when I nix eval the nixosConfiguration, I don't see legacy in the fileSystems attribute?
What am I doing wrong?

$ nix eval .#nixosConfigurations.nas-2024.config.disko.devices.zpool.nvmepool.datasets."root/nix".options
{ mountpoint = "legacy"; }

$ nix eval .#nixosConfigurations.nas-2024.config.disko.devices.zpool.nvmepool.datasets."root/nix".mountpoint
"/nix"

# on nas-2024 during emergency boot mode
$ zfs list nvmepool/root/nix
NAME                        USED  AVAIL  REFER  MOUNTPOINT
nvmepool/root/nix    XXX    YYY     ZZZ      /nix

My config matches AFAICT this post by ElvishJerrico: https://discourse.nixos.org/t/disko-and-zfs-emergency-mode-during-boot/58138/8

22:56:22
@x10an14:matrix.orgx10an142026-02-15T00:01:05,280496113+01:00.png
Download 2026-02-15T00:01:05,280496113+01:00.png
23:01:42
@x10an14:matrix.orgx10an14 *

Hi! I'm also struggling with a Disko/ZFS issue.

I've set options.mountpoint = "legacy".
But when I zfs list the dataset, I don't see legacy in the datasets mountpoint attribute?
What am I doing wrong?

$ nix eval .#nixosConfigurations.nas-2024.config.disko.devices.zpool.nvmepool.datasets."root/nix".options
{ mountpoint = "legacy"; }

$ nix eval .#nixosConfigurations.nas-2024.config.disko.devices.zpool.nvmepool.datasets."root/nix".mountpoint
"/nix"

# on nas-2024 during emergency boot mode
$ zfs list nvmepool/root/nix
NAME                        USED  AVAIL  REFER  MOUNTPOINT
nvmepool/root/nix    XXX    YYY     ZZZ      /nix

My config matches AFAICT this post by ElvishJerrico: https://discourse.nixos.org/t/disko-and-zfs-emergency-mode-during-boot/58138/8

23:02:32
15 Feb 2026
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan @fosdem to matthewcroughan.17:58:57
@fefe2545:matrix.orgfefe joined the room.22:14:04
@fefe2545:matrix.orgfefe changed their profile picture.23:13:38
16 Feb 2026
@disco_stick:matrix.orgcrabby-rathbun changed their display name from ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86 to crabby-rathbun.06:49:32
@zimward:zimward.moezimward changed their display name from zimward to zim.13:48:52
@zimward:zimward.moezimward changed their display name from zim to zimward.13:50:15
@mon:tchncs.depneumatic changed their profile picture.15:17:47
@kslad:unredacted.orgkslad joined the room.23:39:11
17 Feb 2026
@focu5:rhakotis.xyzfocu5 joined the room.14:38:47
@focu5:rhakotis.xyzfocu5 set a profile picture.16:34:32
@focu5:rhakotis.xyzfocu5 removed their profile picture.16:34:37
@focu5:rhakotis.xyzfocu5 set a profile picture.16:39:34
18 Feb 2026
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) joined the room.13:10:31
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)image.png
Download image.png
13:11:04
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)Why does this happen?13:11:07
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)bwah :313:11:13
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)it doesn't ever finish and causes an emergency shell after the runs out13:12:05
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 13:12:11
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 13:14:27
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)https://github.com/sofiedotcafe/luminarie/blob/staging/hosts%2Ftailstack%2Fdisko.nix13:14:57
@vbrandl:matrix.vsund.devbrandl joined the room.18:26:13
19 Feb 2026
@noneyescat:matrix.orgmomo
In reply to @sofiedotcafe:matrix.org
sent an image.
.i had the same issue before, maybe u should check the config of kernel module
06:24:13
@noneyescat:matrix.orgmomo* I had the same issue before, Maybe u should check the config of kernel module06:24:44
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)Which kernel module? zfs?06:31:55
@noneyescat:matrix.orgmomo After running disko, you can execute nixos-generate-config --no-filesystems --root /mnt and then compare the generated /mnt/etc/nixos/hardware-configuration.nix with your flake configuration, especially options like boot.initrd.availableKernelModules. 06:48:38
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)Why do the NVMEs mount then? hmmm10:40:03
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)But yeah. I'll try that, thanks!10:41:46

There are no newer messages yet.


Back to Room ListRoom Version: 10