disko | 353 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 89 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Feb 2025 | ||
| I'm not sure I understand the issue but yeah, the testframework is a bit underdocumented and I mostly did it in one big step | 16:34:58 | |
| I'll keep exploring through it. I appreciate the patience with my questions | 16:52:03 | |
| 15 Feb 2025 | ||
| 10:17:34 | ||
| 10:43:13 | ||
| 18 Feb 2025 | ||
| Did some more investigating, and running into an issue with sgdisk not creating the partition labels when using GPT:
The auto populated | 15:15:54 | |
| * Did some more investigating, and running into an issue with sgdisk not creating the partition labels when using the GPT module:
The auto populated | 15:16:10 | |
| I have a memory of some udev rules being required to create partition labels | 15:31:12 | |
| Maybe that is the problem here | 15:31:20 | |
| Might be. I tried creating them interactively in the test VM and I couldn't get the labels to create. Curious if there is a different way to glean the newly created part. Maybe through the new UUID feature somehow. | 16:00:01 | |
how do i execute the disko drive formatting script for system in a flake .#nixosConfigurations.my-host ? im trying to install a system but i need to first format and mount the partitions before executing nixos-install because i run out of memory/storage otherwise | 20:52:59 | |
* how do i execute the disko drive formatting script for system in a flake .#nixosConfigurations.my-host ? im trying to install a system and i guess i need to first format and mount the partitions before executing nixos-install because i run out of memory/storage otherwise | 20:53:22 | |
disko /disk-config.nix is a thing i suppose, but i have some variables baked into the disko config in my flake so id need to eval that | 20:55:30 | |
| nevermind, got rid of those vars so i can run disko as standalone | 21:13:17 | |
btw isnt it kinda weird that disko-install doesnt create and mount the partitions before downloading gigabytes of packages? it will run out of tmpfs memory everytime and unable to install | 21:15:46 | |
* btw isnt it kinda weird that disko-install doesnt create and mount the partitions before downloading gigabytes of packages? it will run out of tmpfs storage everytime and unable to install | 21:16:04 | |
| It'd probably make more sense to deprecate disko-install. Everyone seems to be using nixos-anywhere, clan, nixops, morph, or some other installer system. | 21:18:39 | |
| dont all those require another nixos host to perform the nix commands? its usefull to be able to do it all with a single machine | 21:19:48 | |
| * dont all those require another nixos host to perform the nix commands? its usefull to be able to do it all with a single machine booted into nixos-minimal | 21:20:08 | |
| * dont all those require another nixos host to perform the nix commands? its useful to be able to do it all with a single machine booted into nixos-minimal | 21:20:13 | |
| Well, that's what nixos-install is for | 21:21:42 | |
i just had to separate disko out of my flake config so i could run disko and then nixos-install, it would be nicer to be able to do disko-install --flake myflake#myhost and it would destroy,format,mount,install,reboot,done | 21:24:12 | |
| but i guess its w/e | 21:24:18 | |
| 19 Feb 2025 | ||
| 00:59:10 | ||
| 09:25:51 | ||
| Anyone know the best way to pass `pkgs` to the gpt.nix module? I'm experimenting with the partition uuid | 15:28:34 | |
| How are you debugging disko configs? I have been repeatedly building | 18:14:09 | |
| I've been getting the error:
Not sure if I'm missing a dep or have something misconfigured. Is there a way to drop into this environment when the build fails, so I can actually run | 18:19:38 | |
| 20 Feb 2025 | ||
| I add an example in the examples folder in a local copy of the disko repo. Then I add that example to the flake.nix file under the testmachine config. Then I load the flake with nix repl and play around with values and functions | 04:44:23 | |
| You can with nixos-anywhere | 20:42:11 | |
| 21 Feb 2025 | ||
| 01:12:42 | ||