disko | 365 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 95 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Oct 2024 | ||
| Disko evaluation seems to be broken on darwin. :/ Ran into this while testing my workshops example on darwin, but seems easy to reproduce. Just run nix flake check on darwin on diskos master (nix 2.18 and 2.23 both seem to show the same symptoms
| 17:17:41 | |
| Ah got it, will open a PR soon | 17:35:05 | |
| 24 Oct 2024 | ||
| 07:34:49 | ||
| 25 Oct 2024 | ||
| 07:17:44 | ||
| 14:29:28 | ||
| 26 Oct 2024 | ||
| 04:22:52 | ||
| 07:04:18 | ||
| 07:08:03 | ||
| I am generating NixOS images with disko and then flashing them onto a USB flash drive. When trying to boot from if though, it can't find the device specified via /dev/disk/by-partlabel by disko. When booted into my regular NixOS install the disks exist though under /dev/disk/by-partlabel if the USB flash drive is plugged in. | 15:46:16 | |
| the nixos-anywhere vm test works however | 16:03:47 | |
| 27 Oct 2024 | ||
| 00:05:43 | ||
| 18:36:13 | ||
| 28 Oct 2024 | ||
| 12:21:21 | ||
| ok so I just deployed to a system that was setup with disko. flake based config, the module is enabled. disko config has changed, namely zfs datasets were added. nothing happened. no new datasets were created. is that by design? | 12:24:14 | |
| what I had hoped to get out of disko was mostly declaratively defined zfs datasets, that I can just create by adding them to my config, but it seems I was wrong and that isn't a thing. | 12:28:13 | |
In reply to @sylvie:karp.lolIt's only a think on initial setup AFAIK. | 12:52:41 | |
In reply to @sylvie:karp.lol* It's only a thing on initial setup AFAIK. | 12:52:47 | |
| Yes, it's just for initial setup by default. If you feel adventurous and have a tested backup of your data you can try rerunning the system.build.formatScript which should be idempotent but please review the script and don't blame us if it eats your data 😇 | 14:06:17 | |
| I see I see. So unfortunately current disko isn't really what I wanted. 😅 | 18:00:49 | |
| Guess I'll have to eventually try writing my own module for this... | 18:01:02 | |
| 29 Oct 2024 | ||
| Would have been nice to see how it works for you and improve disko if/where needed with the lessons learned :) | 08:40:01 | |
| If you want to start out with your own module and just need a solution specifically to add zfs datasets, it might be helpful to know about
| 08:42:14 | |
| 31 Oct 2024 | ||
| 20:24:08 | ||
In reply to @phaer:matrix.orgdo you have any timeline for when post-setup configuration might be ready? | 20:26:04 | |
| or anyway i could help with this? | 20:26:15 | |
| 1 Nov 2024 | ||
| 07:37:51 | ||
| 14:01:59 | ||
| Is there a way to run a command after creating a filesystem with disko? I want to run mkdir $target/{home,nix} to allow these directories binding to their real locations, e.g. something like this | 14:08:31 | |
| Is there a way to run a command after creating a filesystem with disko? I want to run mkdir $target/{home,nix} to allow these directories binding to their real locations, e.g. something like this | 14:08:36 | |
| postCreateHook, hmm | 14:33:38 | |