| 6 May 2024 |
lassulus | why is sgdisk so stupid sometimes :D | 13:24:17 |
Perchun Pak | works xd | 13:26:47 |
Perchun Pak |  Download image.png | 13:26:50 |
Perchun Pak | that gap I guess I can fix manually | 13:27:05 |
lassulus | I guess, a bit stupid that sgdisk doesn't add +1 if I say the same size at the start | 13:27:38 |
lassulus | you could use sectors to fix that | 13:28:22 |
Perchun Pak | nah idrc | 13:28:47 |
Perchun Pak | just one more quick small question, if I will create gap before end of the disk and format it later (for distro hopping), will I have to add it to disko? | 13:31:05 |
lassulus | only if you want to mount it in your nixos | 13:32:51 |
Perchun Pak | declaratively? | 13:33:01 |
lassulus | but you can also just use fileSystems. for that | 13:33:12 |
lassulus | yeah declaratively | 13:33:17 |
lassulus | manually monting doesn't matter | 13:33:26 |
lassulus | * manually mounting doesn't matter | 13:33:33 |
Perchun Pak | then i am good, thanks for your help | 13:33:45 |
| 9 May 2024 |
shlevy | Is there a way to define an lv that takes up everything left of the VG? Or do I have to specify an absolute size (setting size = 100% failed) | 15:44:02 |
shlevy | Ah it looks like I want 100%FREE | 16:03:03 |
lassulus | Ah vg. Yes it is sadly a bit different between partitions and lvms | 16:31:00 |
lassulus | Would probably be nice to have it in a homogenized interface | 16:31:44 |
| 14 May 2024 |
| azahi joined the room. | 10:30:39 |
| 15 May 2024 |
| lassulus changed their profile picture. | 19:30:55 |
| 16 May 2024 |
| nhnn joined the room. | 07:57:38 |
nhnn | I'm a bit confused about mechanism of https://github.com/nix-community/disko/blob/master/docs/disko-images.md. Can I create partitions and drop some files on them using disko? I don't want to install NixOS on raw disk. | 07:58:52 |
lassulus | That creates an image file with a disko defined partition layout and some extra files you pass to it | 08:17:06 |
nhnn | In reply to@lassulus:lassul.us That creates an image file with a disko defined partition layout and some extra files you pass to it It just spins up NixOS VM and creates partitions inside? | 08:18:32 |
lassulus | Yes | 08:19:34 |
nhnn | Got it, thanks. | 08:20:26 |
| 17 May 2024 |
matthewcroughan | hehe | 19:50:50 |
matthewcroughan | nix build .#nixosConfigurations.pi.config.system.build.image
warning: Git tree '/home/matthew/git/nix.how/clients/machines' is dirty
trace: warning: system.stateVersion is not set, defaulting to 24.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
error: builder for '/nix/store/7mlf74xlxwhy4jq4rvbnjazpx5kd8bpl-image.drv' failed with exit code 1;
last 7 log lines:
> structuredAttrs is enabled
> Running phase: patchPhase
> 'repart.d' -> '/build/amended-repart.d'
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: buildPhase
> Building image with systemd-repart...
> unshare: unshare failed: Invalid argument
For full logs, run 'nix log /nix/store/7mlf74xlxwhy4jq4rvbnjazpx5kd8bpl-image.drv'.
| 19:50:52 |
matthewcroughan | bullish for disko, repart doesn't work in the binfmt emulated context | 19:51:01 |