!oNSIfazDqEcwhcOjSL:matrix.org

disko

357 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

Load older messages


SenderMessageTime
4 Nov 2024
@tuxiqae:matrix.orgtuxiqaeIs it possible to create an AWS image using nixos-generators with disk configuration defined by Disko?23:04:09
@pinpox:matrix.orgpinpox
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@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
@deliganli:matrix.orgSait set a profile picture.06:56:03
@tuxiqae:matrix.orgtuxiqaeDid anyone have any success with generating NixOS images using NixOS on a non-NixOS instance?11:08:06
@tuxiqae:matrix.orgtuxiqae * Did anyone have any success with generating NixOS images using Disko on a non-NixOS instance11:08:18
@pinpox:matrix.orgpinpox
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:lassul.uslassuluswhats the output? did you try passwordFile? not sure it did something more smart :D11:41:29
@pinpox:matrix.orgpinpox lassulus: this is the output: https://gist.github.com/pinpox/a2ff60cadd0c8f40cbcf536a09b2552b 11:49:29
@pinpox:matrix.orgpinpoxIt skipped over the password prompt instantly and errorer. Config is the one above, with the keyfile stuff commented out11:50:01
@lassulus:lassul.uslassulusand you can't enter text in there?11:50:18
@pinpox:matrix.orgpinpoxno11:50:23
@lassulus:lassul.uslassulushmm, sad11:50:27
@lassulus:lassul.uslassulusthen I guess passwordFile?11:50:40
@pinpox:matrix.orgpinpox
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:matrix.orgpinpox
In reply to @pinpox:matrix.org
sent an image.
lassulus:
11:51:29
@lassulus:lassul.uslassuluswasn't that with keyFile?11:51:45
@pinpox:matrix.orgpinpoxAh i misread that. One sec, I'll try11:52:15
@pinpox:matrix.orgpinpox 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:lassul.uslassulushopefully not OOM11:58:52
@pinpox:matrix.orgpinpoxI f'ed something up with the partition labels but the image and decryption works, thank you!12:15:37
@nebucatnetzer13:matrix.orgnebucatnetzer13 joined the room.17:38:02
@nebucatnetzer13:matrix.orgnebucatnetzer13I'm interested in this as well. Especially with UEFI support and encryption.17:43:00
@nebucatnetzer13:matrix.orgnebucatnetzer13Ah and building the whole thing on x86.17:43:39
6 Nov 2024
@seapat:matrix.orgseapat joined the room.13:50:05
@tuxiqae:matrix.orgtuxiqae

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
@lassulus:lassul.uslassulusdepends on your closure size and disk setup20:13:51
@tuxiqae:matrix.orgtuxiqaeI'm going to use it as an AWS AMI, and add more volumes if needed, if that makes any sense20:14:34
@tuxiqae:matrix.orgtuxiqaeAnd I'm asking about the basics for now, since I might need to store that image in the store (I want to upload it to S3 using Terranix and am afraid that it'll only be able to use files which are found in the store)20:15:43
7 Nov 2024
@sebastian:srx.digitalcrstl set a profile picture.00:43:35

Show newer messages


Back to Room ListRoom Version: 10