!oNSIfazDqEcwhcOjSL:matrix.org

disko

281 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko72 Servers

Load older messages


SenderMessageTime
23 May 2025
@disco_stick:matrix.orgTake the I-Whatever to Desolation changed their display name from SS Bullshit Dreams to Mena, AR.14:26:16
@horyzon7:matrix.orghoryzon7

so, concretely, I need to use a label = “…”; for each partition.

also, how does my ESP partition overflow into my other partitions? the only way that I can think of is if end = is inclusive (rather than exclusive), which would be weird.

so you’re saying that both start= and end= are inclusive?

18:30:01
@horyzon7:matrix.orghoryzon7I say its weird because this how we make the partitions according to the nixos manual mkpart ESP fat32 1MB 512MB mkpart root ext4 512MB -8GB mkpart swap linux-swap -8GB 100%18:31:29
@horyzon7:matrix.orghoryzon7so I quite literally just attempted copying that18:31:40
@lassulus:lassul.uslassulusyes, they are sadly inclusive, not sure why sgdisk was built that way :D18:33:05
@lassulus:lassul.uslassulusthats why I usually leave start empty, because 0 will pick the next empty space18:33:32
@horyzon7:matrix.orghoryzon7ah so its sgdisk’s fault. alright, thanks!18:33:52
@lassulus:lassul.uslassulusI thought about different ways to fix that in disko, but nothing good comes to mind, maybe there is a way to do a 1 block addition in the specification? but on my last search I didn't find anything18:35:05
24 May 2025
@sss:matrix.dark-alexandr.netsss joined the room.13:01:58
@rp6667:matrix.orgrow joined the room.14:28:29
@disco_stick:matrix.orgTake the I-Whatever to Desolation changed their display name from Mena, AR to SS Bullshit Dreams.17:25:10
@disco_stick:matrix.orgTake the I-Whatever to Desolation changed their display name from SS Bullshit Dreams to SSBSD.17:25:21
25 May 2025
@nicoty:kde.orgnicoty Hello. I'm trying to set up a VM using a flake and disko, but the flake fails to build due to an sgdisk error ("Could not create partition 1"). What am I doing wrong? 22:26:30
@lassulus:lassul.uslassulusyou need to set imageSize on the disk type22:34:37
@lassulus:lassul.uslassulusthe default is just 2G22:34:48
@nemnix:matrix.org@nemnix:matrix.org left the room.22:41:07
@nicoty:kde.orgnicoty
In reply to @lassulus:lassul.us
you need to set imageSize on the disk type
Thank you, I'll give it a shot!
22:50:33
26 May 2025
@no-mood:matrix.orgno-moodRedacted or Malformed Event16:13:53
@alisonjenkins:matrix.orgAlison Jenkins joined the room.18:49:31
27 May 2025
@realhotgirlshit:envs.net@realhotgirlshit:envs.net left the room.07:50:45
@thou.vow:matrix.orgthou.vow joined the room.18:05:57
@thou.vow:matrix.orgthou.vowI wonder what is the priority field of ESP in https://github.com/nix-community/disko/blob/master/example/btrfs-subvolumes.nix18:22:07
@thou.vow:matrix.orgthou.vowI can't find documentation of it18:53:00
@thou.vow:matrix.orgthou.vowAlso, how can I pass arguments do mkfs?18:59:32
@lassulus:lassul.uslassuluspriority is for sorting the creation oft partitions. Sometimes you want some partions to be created first and 100% should run last. Otherwise the sizes will overlap19:13:19
@lassulus:lassul.uslassulusYou can pass extraArgs on filesystem type https://github.com/nix-community/disko/blob/master/lib/types/filesystem.nix#L2319:14:35
@thou.vow:matrix.orgthou.vowI see, I want to use that19:18:53
@thou.vow:matrix.orgthou.vowThe highest will be the last?19:19:22
@thou.vow:matrix.orgthou.vowNevermind19:19:56
@thou.vow:matrix.orgthou.vowJust read your message19:20:09

Show newer messages


Back to Room ListRoom Version: 10