disko | 359 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 91 Servers |
| Sender | Message | Time |
|---|---|---|
| 11 Jun 2024 | ||
| here is the disk-config.nix:
I want that partition currently called "data" to not be mounted and I also do not really even care if it is formatted. I just want the partition to exist. Does that make sense? | 16:41:42 | |
| * here is the disk-config.nix:
I want that partition currently called "data" to not be mounted and I also do not really even care if it is formatted. I just want the partition to exist. Does that make sense? | 16:43:56 | |
actually, I figured it out. Looks like just leaving out the mountPoint and mountOptions attributes did the trick! | 16:46:49 | |
* actually, I figured it out. Looks like just leaving out the mountPoint and mountOptions attributes did the trick! (I did still have to specify the type = btrfs attribute, which is fine. Is there some sort of type = raw where it just does no formatting? | 16:47:40 | |
| You can leave content empty in the partition | 16:54:39 | |
| 18:33:42 | ||
| 12 Jun 2024 | ||
| 15:31:09 | ||
| How come the homeless-shelter is found on images built with disko? | 17:38:24 | |
I have /homeless-shelter | 17:38:30 | |
| maybe because of leaky builds? | 17:38:36 | |
| My luks prompt on boot says "password for disk disk-system-system-vault (system)" which is annoyingly redundant. 😄 | 19:13:40 | |
| I can change three things now the name of the disk in disko, the name of the partition and the name of the mounted luks container. | 19:14:35 | |
| Question 1: Which of those identifiers is stateful on disk? i.e. I need to change it before I can reboot successfully. | 19:15:31 | |
| Question 2: Any recommendations how to call what?^^ | 19:15:48 | |
| Figured it out. | 20:11:06 | |
| Needed to change the partition labels nothing else. I actually got that right one reboot, no recovery needed. Kinda proud. 😄 | 20:12:02 | |
| * Needed to change the partition labels nothing else. I actually got that right. One reboot, no recovery needed. Kinda proud. 😄 | 20:12:13 | |
| Now it says "disk-nixos-zeus-system-vaulat (crypted-root-fs)" much more informative. | 20:12:49 | |
| * Now it says "disk-nixos-zeus-system-vault (crypted-root-fs)" much more informative. | 20:13:12 | |
| 15 Jun 2024 | ||
| 13:51:37 | ||
| 16 Jun 2024 | ||
| How relevant is it to explicitly set a priority field? | 22:02:49 | |
| * How relevant is it to explicitly set a priority field in the gpt type? | 22:15:22 | |
| 17 Jun 2024 | ||
| I think it affects the ordering? | 00:00:43 | |
| https://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md | 00:01:38 | |
| Yeah, the question is whether the ordering matters. I assume that since disko mounts by label the order is completely irrelevant for mounting and only needed for partitioning. So theoretically it doesn’t even have to be deterministic. | 09:01:10 | |
| I mean if it is important to me that swap definitely is after efi I can annotate it, but if I don’t care I can just use whatever disko comes up with, don’t I? | 09:02:19 | |
| yes | 09:30:24 | |
| it sometimes matters for the ef02 partition if you do legacy booting on gpt | 09:30:39 | |
| but on my machines even that didn't matter | 09:30:49 | |
| How does disko disambiguate if two partitions have the same priority? I assume it’s then basically depending on the order Nix does attrsToList? | 22:18:16 | |