| 6 May 2026 |
so_halt | This is my disk-config
{
disko.devices = {
disk = {
nvme0n1 = {
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
start = "1MiB";
end = "1GiB";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
luks = {
start = "1GiB";
end = "-8G";
content = {
type = "luks";
name = "crypted";
content = {
type = "zfs";
pool = "zroot";
};
};
};
swap = {
start = "-8G";
end = "100%";
content = {
type = "swap";
randomEncryption = true;
};
};
};
};
};
};
zpool = {
zroot = {
type = "zpool";
rootFsOptions = {
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
datasets = {
persist = {
type = "zfs_fs";
mountpoint = "/persist";
};
nixstore = {
type = "zfs_fs";
mountpoint = "/nix";
};
home = {
type = "zfs_fs";
mountpoint = "/home";
options."com.sun:auto-snapshot" = "true";
};
};
};
};
};
}
| 19:52:38 |
so_halt | And I'm invoking disko-install like so: nix run --extra-experimental-features flakes --extra-experimental-features nix-command 'github:nix-community/disko/latest#disko-install' -- --write-efi-boot-entries --flake github:my/repo#my-host --disk nvme0n1 /dev/nvme0n1 | 19:54:01 |
so_halt | (I'm running this on the machine that I want to install the system to, booted from a usb stick with an installer iso) | 20:08:11 |
so_halt | Looks like the issue is with the start and end config of the partitions. Using size = 1G; for ESP and size = 100%; for LUKS works. | 20:44:21 |
magic_rb | There needs go be a gap between the paritions i think. sgdisk will do it for you if you do 100% but not if you do it manually | 21:06:07 |
| 7 May 2026 |
| @jykrwn_bot:matrix.org joined the room. | 09:12:39 |
| NixOS Moderation Bot banned @jykrwn_bot:matrix.org (disagreement). | 09:12:41 |
| 8 May 2026 |
| jopejoe1 [4094] changed their display name from jopejoe1 (4094@epvpn) to jopejoe1. | 08:45:49 |
| hxr404 ✨ [it/she] left the room. | 09:21:19 |
Crony Akatsuki (balkan/slav) | magic_rb: willing to help me setup zfs on a external hdd, main usecase just for saving rom files and playing them, maybe encrypted backups also | 14:23:12 |
magic_rb | zfs is a bit clunky with imports, exports | 14:23:40 |
magic_rb | what i would do is do LUKS below ZFS | 14:23:50 |
Crony Akatsuki (balkan/slav) | I wouldn't be encrypting the drive itself, have no need for that | 14:24:12 |
magic_rb | ah | 14:24:21 |
magic_rb | spinning rust? | 14:24:30 |
Crony Akatsuki (balkan/slav) | yea, hdd | 14:24:42 |
magic_rb | zpool."cyanocitta-zpool" = {
type = "zpool";
options."ashift" = "12";
rootFsOptions = {
"xattr" = "on";
"recordsize" = "128K";
"compression" = "zstd-2";
"atime" = "off";
"dnodesize" = "auto";
"mountpoint" = "none";
};
datasets."ds1" = {
type = "zfs_fs";
options.mountpoint = "none";
mountpoint = null;
};
thats from my newest laptop, xattr = on is i think the default by now, so is dnodesize = auto, but im not a 100% sure | 14:26:22 |
Crony Akatsuki (balkan/slav) | tnx | 14:29:12 |
| 12 May 2026 |
| Richard Tichý joined the room. | 11:34:51 |
| 13 May 2026 |
| snowflake joined the room. | 12:26:53 |
| 14 May 2026 |
| Pol changed their display name from Pol to Pol (out, touching grass). | 07:39:05 |
| Pol changed their display name from Pol (out, touching grass) to Pol. | 16:33:39 |
| haz joined the room. | 17:04:10 |
| 15 May 2026 |
| erents joined the room. | 13:33:52 |
| 16 May 2026 |
| Sofus Lind joined the room. | 22:58:54 |
Sofus Lind | How do i / can i use disko to only manage one specific partiiton? I have a 4 partitions 1 is boot, 2 + 3 is windows, and 4 is the partiiton i want to manage in disko, so that i can declaratively setup nixos with preservation. | 23:02:05 |
| 17 May 2026 |
| palo joined the room. | 08:40:32 |
| @mrvandalo:terranix.org left the room. | 08:40:37 |
| 18 May 2026 |
not-jack | Does anyone know why my root filesystem is not being imported with zfs? | 10:16:23 |
not-jack |  Download image.png | 10:16:36 |