!JQvnJacrwKgtkGHYHO:matrix.org

NixOS + Framework

233 Members
Discussing NixOS in the context of the Framework laptop52 Servers

Load older messages


SenderMessageTime
10 May 2026
@rajil:rajils.comtrumee

this did not work,

          luks = {
            size = "100%";
            content = {
              type = "luks";
              name = "enc";
              enrollFido2 = true;
              settings = {
                allowDiscards = true;
              };
              content = {
                type = "lvm_pv";
                vg = "pool";
              };
            };
          };
20:59:27
@albertlarsan68:albertlarsan.frAlbert LarsanAnd you know what to change depending on whether your storage fills up (increase the number everywhere) or your CPU is hammered (decrease the number, even into the negatives if needed)20:59:32
@rajil:rajils.comtrumeeerror: The option `disko.devices.disk.disk1.content.partitions.luks.content.enrollFido2' does not exist. Definition values:20:59:43
@sudoforge:matrix.orgsudoforgeyou need to update the disko binary you're using, and the disko library you're using21:00:06
@rajil:rajils.comtrumee i used sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disk-config.nix from https://github.com/nix-community/disko 21:00:26
@sudoforge:matrix.orgsudoforgeyeah i just checked, it's not released21:00:42
@sudoforge:matrix.orgsudoforge so change /latest to /master 21:00:57
@albertlarsan68:albertlarsan.frAlbert LarsanThat is what is does, asks me for a passphrase at format step.21:01:16
@sudoforge:matrix.orgsudoforgei didn't see encryption configuration in the config you shared earlier. did i miss it?21:01:38
@sudoforge:matrix.orgsudoforgeoh, so i did21:01:51
@sudoforge:matrix.orgsudoforgeoops21:01:51
@albertlarsan68:albertlarsan.frAlbert LarsanThere is luks, but with default-iish configs21:02:10
@sudoforge:matrix.orgsudoforgeyeah, which will just ask for a passphrase21:02:24
@sudoforge:matrix.orgsudoforgei'm tracking now21:02:32
@sudoforge:matrix.orgsudoforge trumee the fido2 support landed 3 weeks ago, and unfortunately a release hasn't been cut yet 21:03:18
@sudoforge:matrix.orgsudoforgewhich is why "latest" didn't work for you21:03:25
@albertlarsan68:albertlarsan.frAlbert LarsanEven the second disk is crypted. I would have loved to make a key file work, but despite trying for a week I couldn’t, so it also has a passphrase and unlocks from tpmk21:03:35
@sudoforge:matrix.orgsudoforgein multi-disk systems i just use the same passphrase21:03:54
@sudoforge:matrix.orgsudoforgecryptsetup caches it when unlocking, so, it's not too painful if i ever do need to manually enter it21:04:24
@sudoforge:matrix.orgsudoforge* in multi-disk systems i just use the same passphrase for all of the disks21:04:44
@albertlarsan68:albertlarsan.frAlbert LarsanIt is the same passphrase, but it must boot automatically, without passphrases.21:05:07
@sudoforge:matrix.orgsudoforgeyep21:05:24
@sudoforge:matrix.orgsudoforgefor that, i use clevis + tang21:05:29
@albertlarsan68:albertlarsan.frAlbert LarsanAnd I use not enough PCRs on my TPM.21:19:19
@sudoforge:matrix.orgsudoforge:(21:24:56
@sudoforge:matrix.orgsudoforgePCRs that are a little looser for a server make a certain sense, but21:27:27
@sudoforge:matrix.orgsudoforgei would strongly encourage you to research clevis+tang and move to that21:27:39
@albertlarsan68:albertlarsan.frAlbert LarsanI am really unsure of which ones to use with lanzaboote21:27:46
@albertlarsan68:albertlarsan.frAlbert LarsanMy servers are in multiple locations, with independant internet accesses21:28:08
@sudoforge:matrix.orgsudoforgemy servers are all onprem (in a rack in my home). my tang server is my laptop21:28:54

Show newer messages


Back to Room ListRoom Version: 10