!oNSIfazDqEcwhcOjSL:matrix.org

disko

358 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko92 Servers

Load older messages


SenderMessageTime
1 Apr 2025
@sandro:supersandro.deSandro 🐧 changed their display name from Sandro 🐧 [c3d2] to Sandro 🐧.13:59:07
@disco_stick:matrix.orgredesign your logo changed their display name from Aesthetic Above All to ❀️Larry πŸ’– Ellison ❀️.16:33:51
@disco_stick:matrix.orgredesign your logo changed their display name from ❀️Larry πŸ’– Ellison ❀️ to ❀️ Larry πŸ’– Ellison ❀️.16:34:30
@disco_stick:matrix.orgredesign your logo changed their display name from ❀️ Larry πŸ’– Ellison ❀️ to πŸ’– Larry ❀️ Ellison πŸ’–.16:37:15
3 Apr 2025
@rob.sliwi:matrix.orgrobsliwi joined the room.14:27:40
@matthewcroughan:defenestrate.itmatthewcroughan Marie: your config doesn't seem to work for me 16:34:46
@matthewcroughan:defenestrate.itmatthewcroughan
  disko.devices = {
    disk = {
      disk1 = {
        device = "/dev/disk/by-id/nvme-KIOXIA-EXCERIA_PLUS_G3_SSD_1FHKS0AZZ0E8";
        type = "disk";
        content = {
          type = "gpt";
          partitions = {
            ESP = {
              type = "EF00";
              size = "2G";
              content = {
                type = "filesystem";
                format = "vfat";
                mountpoint = "/boot";
              };
            };
            luks = {
              size = "100%";
              content = {
                type = "luks";
                name = "root";
                settings = {
                  allowDiscards = true;
                  askPassword = true;
                };
                content = {
                  type = "zfs";
                  pool = "rpool";
                };
              };
            };
          };
        };
      };
    };
16:34:59
@matthewcroughan:defenestrate.itmatthewcroughansec16:35:21
@matthewcroughan:defenestrate.itmatthewcroughan
warning: Git tree '/home/nixos/nixcfg' is dirty
error:
       … while calling the 'head' builtin
         at /nix/store/9qd2bi98nh9yd4axm9zr16zln01w62q3-source/lib/attrsets.nix:1574:11:
         1573|         || pred here (elemAt values 1) (head values) then
         1574|           head values
             |           ^
         1575|         else

       … while evaluating the attribute 'value'
         at /nix/store/9qd2bi98nh9yd4axm9zr16zln01w62q3-source/lib/modules.nix:927:9:
          926|     in warnDeprecation opt //
          927|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          928|         inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/9qd2bi98nh9yd4axm9zr16zln01w62q3-source/nixos/modules/system/activation/top-level.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: The option `boot.initrd.luks.devices.root.askPassword' does not exist. Definition values:
       - In `/nix/store/3jcshyisj8zw6xf7hhvhd2myxn9q7w8h-source/module.nix': true
16:35:27
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/nix-community/disko/blob/329d3d7e8bc63dd30c39e14e6076db590a6eabe6/lib/types/luks.nix#L7216:35:29
@matthewcroughan:defenestrate.itmatthewcroughanand yet I see it here 16:35:31
@matthewcroughan:defenestrate.itmatthewcroughanI must be missing something obvious 16:35:41
@matthewcroughan:defenestrate.itmatthewcroughandisko.devices.disk.disk1.content.luks.content.settings.askPassword16:36:11
@marie:marie.cologneMarieaskPassword needs to be in content16:36:18
@marie:marie.cologneMarienot in settings16:36:20
@matthewcroughan:defenestrate.itmatthewcroughanah but allowDiscard needs to be in settings?16:36:38
@marie:marie.cologneMariesettings is for luks settings of the initrd module16:36:45
@marie:marie.cologneMarie yes 16:36:51
@dantefromhell:matrix.orgdantefromhell changed their display name from dantefromhell to MATRIX dantefromhell.22:35:00
@dantefromhell:matrix.orgdantefromhell changed their display name from MATRIX dantefromhell to dantefromhell.22:36:44
4 Apr 2025
@disco_stick:matrix.orgredesign your logo changed their display name from πŸ’– Larry ❀️ Ellison πŸ’– to ChatGPT.11:54:21
@unspeaker:matrix.orgunspeaker joined the room.14:23:14
@unspeaker:matrix.orgunspeaker

hey people πŸ‘‹

i came here from this guide https://edouard.paris/notes/install-nixos-on-an-ovh-vps-with-nixos-anywhere/ to ask for help with figuring out the appropriate disko config for my use case...

but (after making some tweaks to the config based https://github.com/nix-community/disko/blob/master/example/boot-raid1.nix and the output of lsblk/fdisk/parted) ... it all worked perfectly the first time! πŸš€

so all that's left is to express my sincerest gratitude for this fantastic tool! πŸ™

15:33:26
@unspeaker:matrix.orgunspeaker *

hey people πŸ‘‹

i came here from this guide https://edouard.paris/notes/install-nixos-on-an-ovh-vps-with-nixos-anywhere/ to ask for help with figuring out the appropriate disko config for my use case...

but, after making some tweaks to the config (based on https://github.com/nix-community/disko/blob/master/example/boot-raid1.nix and the output of lsblk/fdisk/parted) ... it all worked perfectly the first time! πŸš€

so all that's left is to express my sincerest gratitude for this fantastic tool! πŸ™

15:33:40
5 Apr 2025
@ab-kein:matrix.orgAb Kein joined the room.17:43:47
@spaenny:boehm.sh@spaenny:boehm.sh joined the room.23:39:39
6 Apr 2025
@disco_stick:matrix.orgredesign your logo changed their display name from ChatGPT to IT'S HAPPENING!!!!.08:14:23
@bashfulrobot.:matrix.orgbashfulrobot changed their profile picture.23:26:51
7 Apr 2025
@disco_stick:matrix.orgredesign your logo changed their display name from IT'S HAPPENING!!!! to Ground Haggis Enema.16:22:27
8 Apr 2025
@disco_stick:matrix.orgredesign your logo changed their display name from Ground Haggis Enema to "Other Natural Flavors".14:30:53

Show newer messages


Back to Room ListRoom Version: 10