disko | 368 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 95 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Jun 2024 | ||
| so maybe you don't need mountpoint? | 15:17:12 | |
In reply to @lassulus:lassul.usthis is the easy way of doing this :D | 15:18:37 | |
In reply to @lassulus:lassul.usbtrfs subvolume swap has its pros, also it just looks nice | 15:19:05 | |
| hmm, ok, reading the code again, it should also work with a mountpoint set | 15:20:24 | |
| doing btrfs swapfile outside of a separate volume is probably a bad idea (has something to do with compression i think) | 15:20:26 | |
In reply to @lassulus:lassul.usi think i took this code from the main repo :D | 15:20:55 | |
| i mean, except the subvolume naming | 15:21:12 | |
| whats the error you see on boot? | 15:24:17 | |
In reply to @lassulus:lassul.ustimeout waiting for the device which somewhere shows as this swap swap | 15:25:34 | |
In reply to @lassulus:lassul.us* | 15:25:41 | |
| 9 Jun 2024 | ||
| 14:19:18 | ||
| 11 Jun 2024 | ||
| What is the intended way of using disko when doing a clean install with an existing config? Or do I need to do a non-graphical (manual) install? | 10:12:25 | |
In reply to @thevilsol:matrix.orgGet your hardware configuration, and delete the fileSystems options. Import your disko configuration in your configuration.nix, and use disko-install to format and install the system. | 11:45:09 | |
| if I want disko to make a partition but not cause the partition to be formatted or mounted, how do I do that? | 16:33:19 | |
In reply to @netpleb:matrix.orgAmmm, I saw this message and came to find out, like, what do you mean by "make"?? | 16:34:13 | |
In reply to @wieldable9080:matrix.imI have a disk-config.nix that does my partitioning for whenever provision a new instance of this type of machine (so I am just using nixos-anywhere ...). Can I just leave out the mountPoint and mountOptions in that disk-config? | 16:38:09 | |
In reply to @wieldable9080:matrix.im* I have a disk-config.nix that does my partitioning for whenever provision a new instance of this type of machine (so I am just using nixos-anywhere ...). Can I just leave out the mountPoint and mountOptions in that disk-config for that partition? | 16:38:20 | |
| 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 | |