| 4 Nov 2024 |
lassulus | that sounds like https://github.com/NixOS/nixpkgs/pull/254790#discussion_r1358073458 | 20:19:34 |
@brian:bmcgee.ie | Yeah, looks like it | 20:21:41 |
@brian:bmcgee.ie | I'll read this properly tomorrow and see if I can work around it | 20:23:30 |
| @tanvir:hackliberty.org changed their profile picture. | 21:41:18 |
tuxiqae | Is it possible to create an AWS image using nixos-generators with disk configuration defined by Disko? | 23:04:09 |
pinpox | In reply to @lassulus:lassul.us ah that is already the impure script, but you can skip configuring a keyFile in that case I tried commenting it out like this: https://termbin.com/v5pk but then it doesn't build an image | 23:27:26 |
@kranzes:matrix.org | In reply to @tuxiqae:matrix.org Is it possible to create an AWS image using nixos-generators with disk configuration defined by Disko? Honestly I would talk to Arianvp for stuff related to AWS images and nixos | 23:57:28 |
| 5 Nov 2024 |
| Sait set a profile picture. | 06:56:03 |
tuxiqae | Did anyone have any success with generating NixOS images using NixOS on a non-NixOS instance? | 11:08:06 |
tuxiqae | * Did anyone have any success with generating NixOS images using Disko on a non-NixOS instance | 11:08:18 |
pinpox | In reply to @pinpox:matrix.org I tried commenting it out like this: https://termbin.com/v5pk but then it doesn't build an image lassulus: any other ideas? if not I'll submit an issue, but maybe I'm just doing it wrong? | 11:41:03 |
lassulus | whats the output? did you try passwordFile? not sure it did something more smart :D | 11:41:29 |
pinpox | lassulus: this is the output: https://gist.github.com/pinpox/a2ff60cadd0c8f40cbcf536a09b2552b | 11:49:29 |
pinpox | It skipped over the password prompt instantly and errorer. Config is the one above, with the keyfile stuff commented out | 11:50:01 |
lassulus | and you can't enter text in there? | 11:50:18 |
pinpox | no | 11:50:23 |
lassulus | hmm, sad | 11:50:27 |
lassulus | then I guess passwordFile? | 11:50:40 |
pinpox | In reply to @lassulus:lassul.us then I guess passwordFile? but then it won't boot on the real thing as it keeps asking for the file | 11:51:20 |
pinpox | In reply to @pinpox:matrix.org sent an image. lassulus: | 11:51:29 |
lassulus | wasn't that with keyFile? | 11:51:45 |
pinpox | Ah i misread that. One sec, I'll try | 11:52:15 |
pinpox | added passwordFile, now runnning sudo ./result --build-memory 4096 --pre-format-files /tmp/secret.key /tmp/secret.key . It seems to be baking something... | 11:56:23 |
lassulus | hopefully not OOM | 11:58:52 |
pinpox | I f'ed something up with the partition labels but the image and decryption works, thank you! | 12:15:37 |
| nebucatnetzer13 joined the room. | 17:38:02 |
nebucatnetzer13 | I'm interested in this as well. Especially with UEFI support and encryption. | 17:43:00 |
nebucatnetzer13 | Ah and building the whole thing on x86. | 17:43:39 |
| 6 Nov 2024 |
| seapat joined the room. | 13:50:05 |
tuxiqae | Any idea what's the minimum NixOS image size? The Disko docs just say:
# WARNING: if you set a too low value the image might be not big enough to contain the nixos installation
| 20:13:22 |