disko | 379 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 97 Servers |
| Sender | Message | Time |
|---|---|---|
| 31 Mar 2024 | ||
| * it should be possible, but that is a very recent feature which I haven't tested deeply yet | 21:05:38 | |
| you basically need to configure your existing partitons in disko (content can be null for the fedore ones) and then try to run the createScript (not the diskoScript!, as that one will wipe your drives first) | 21:06:47 | |
| i’d make a backup or at least clone the disk before trying. | 21:33:45 | |
| 1 Apr 2024 | ||
| We don't support bcachefs native encryption and/or multi-device support yet, correct? | 18:55:17 | |
| Quick code searc suggests as much | 18:55:41 | |
In reply to @lassulus:lassul.uswell, this doesn't work https://gist.github.com/PerchunPak/00acc9f000667c5c4dca4b8d4a6c76b0 (i am currently trying this in vm to be safe; without changes into modules/nixos/disko.nix, it gives the same result) | 19:21:33 | |
| also, i was confused to see this feature named "format" though you recommend it to not format my disk | 19:22:22 | |
| ah, yeah,I actually check if there is already a partition table and skip creating any partition if that is the case | 19:41:45 | |
| I will fix that tomorrow | 19:41:49 | |
| 3 Apr 2024 | ||
| 00:10:29 | ||
| 4 Apr 2024 | ||
| 10:16:08 | ||
In reply to @perchun:matrix.org I did it!
basically I [just modified script, produced by | 16:06:43 | |
In reply to @perchun:matrix.org* I did it!
basically I [just modified script](https://gist.github.com/PerchunPak/94a54415887c3a0a89c00a875c4cd204), produced by | 16:06:50 | |
| * I did it!
basically I just modified script, produced by | 16:07:10 | |
| hmm, didn't the disko command wipe your other partitions? | 16:09:21 | |
| it does, i just removed that part from script generated by disko https://gist.github.com/PerchunPak/94a54415887c3a0a89c00a875c4cd204#file-disko-patch-L8-L11 | 16:10:12 | |
| ah ok | 16:10:23 | |
| yeah thats a way to do it | 16:10:28 | |
| 5 Apr 2024 | ||
| 04:23:38 | ||
| 6 Apr 2024 | ||
| Hey, is there a way to use disko on the config.system.build.vm Attribute in a testflake? | 19:25:20 | |
* Hey, is there a way to use disko on the config.system.build.vm Attribute in a testflake? | 19:25:31 | |
| what do you want to do? | 19:33:40 | |
| there is sadly no way to have your disk configuration in the nixos generated vm config | 19:33:57 | |
lassulus: does config.system.build.vm not have extendModules ? | 19:38:13 | |
| oh yeah looks like it might now | 19:38:41 | |
| * oh yeah looks like it might not | 19:38:44 | |
would be cool to put that in passtrhu | 19:38:56 | |
* would be cool to put that in passthru | 19:38:59 | |
In reply to @lassulus:lassul.usthat's what I wanted to do | 19:52:13 | |
| 7 Apr 2024 | ||
| Btw, I don't know if it is intended, but this command returns exit code 0 when partition exists https://github.com/nix-community/disko/blob/0a17298c0d96190ef3be729d594ba202b9c53beb/lib/types/gpt.nix#L158 Should I open an issue on GitHub? | 10:00:59 | |