!oNSIfazDqEcwhcOjSL:matrix.org

disko

429 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko117 Servers

Load older messages


SenderMessageTime
21 May 2026
@pascal.sthamer:matrix.procyde.onlinePascal Sthamer changed their profile picture.09:32:36
@mdietrich:matrix.orgmdietrich Actually having another question: I can install my custom aarch64-linux system on an USB stick for Raspberry Pi usage with disko-install (using the PR #1190), but trying to create the image by using either diskoImages or diskoImagesScript does not work and fails due to virtiofs problems. Anyone hit that also and can help here? 21:17:53
22 May 2026
@jonhermansen:matrix.orgJon Hermansen changed their display name from jonhermansen to Jon Hermansen.19:18:46
23 May 2026
@mtmn:matrix.orgmtmn joined the room.15:23:04
24 May 2026
@nephesh:matrix.orgnephesh joined the room.00:18:54
@nephesh:matrix.orgnephesh set a profile picture.04:33:34
26 May 2026
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± changed their profile picture.05:42:06
27 May 2026
@barnett:kebado.netBarnett joined the room.08:27:00
@barnett:kebado.netBarnett changed their display name from Barnett Trzcinski 💕 to Barnett.08:27:57
@barnett:kebado.netBarnett set a profile picture.08:59:07
@barnett:kebado.netBarnett removed their profile picture.08:59:55
@nuko.2mb:matrix.orgnuko joined the room.12:34:46
29 May 2026
@lassulus:lassul.uslassulus changed their profile picture.07:07:13
@praseodym:matrix.orgpraseodym joined the room.12:47:38
30 May 2026
@613fd0ba9f744876:matrix.orgFlakeyForger joined the room.18:10:23
@613fd0ba9f744876:matrix.orgFlakeyForger set a profile picture.18:21:04
@613fd0ba9f744876:matrix.orgFlakeyForger removed their profile picture.18:25:16
@613fd0ba9f744876:matrix.orgFlakeyForger set a profile picture.18:25:28
31 May 2026
@vandycarlos:matrix.orgVandy Carlos changed their display name from vandycarlos to Vandy arlos.22:00:30
@vandycarlos:matrix.orgVandy Carlos changed their display name from Vandy arlos to Vandy Carlos.22:00:38
1 Jun 2026
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️ changed their profile picture.13:08:00
@tanja:catgirl.cloudTanja (she/her) changed their display name from Tanja (she/her) to Tanja (she/her) 📞 TNJA (8652).15:32:41
@esch:eschbach.house@esch:eschbach.house left the room.15:36:37
@mitch9378:matrix.orgmitch9378 joined the room.17:01:03
2 Jun 2026
@axel_w:matrix.orgaxw joined the room.21:05:48
4 Jun 2026
@allen-liaoo:matrix.orgAllen Liao joined the room.19:09:53
@allen-liaoo:matrix.orgAllen Liao

Hey guys, so I'm upgrading to 26.05.
I have a working luks setup with BTRFS subvolumes:

boot.initrd.luks.devices = {
  cryptroot = {
    device = lib.mkForce "/dev/disk/by-partlabel/disk-main-luks"; # conflicts with disko
    allowDiscards = true;
  };
  cryptswap = {
    device = "/dev/disk/by-partlabel/disk-main-swap";
    allowDiscards = true;
  };
};

disko config:

disko.devices = {
  disk.main = {
    type = "disk";
    device = "/dev/disk/by-id/nvme-Samsung_SSD_990_EVO_Plus_1TB_S7U5NJ0Y750798J"; # /dev/nvme0n1
    content = {
      type = "gpt";
      partitions = {
        swap = {
          content = {
            type = "luks";
            name = "cryptswap";
          };
        };
        luks = {
          size = "100%";
          content = {
            type = "luks";
            name = "cryptroot";
            content = {
              type = "btrfs";
              subvolumes = {
                "@" = {
                  mountpoint = "/";
                };
              };
            };
          };
        };
      };
    };
  };
};

Do I add

fileSystems."/".device = "/dev/mapper/cryptroot";
``
and that's it? what about my swap?
19:12:11
@allen-liaoo:matrix.orgAllen Liao *

Hey guys, so I'm upgrading to 26.05.
I have a working luks setup with BTRFS subvolumes:

boot.initrd.luks.devices = {
  cryptroot = {
    device = lib.mkForce "/dev/disk/by-partlabel/disk-main-luks"; # conflicts with disko
    allowDiscards = true;
  };
  cryptswap = {
    device = "/dev/disk/by-partlabel/disk-main-swap";
    allowDiscards = true;
  };
};

disko config:

disko.devices = {
  disk.main = {
    type = "disk";
    device = "/dev/disk/by-id/nvme-Samsung_SSD_990_EVO_Plus_1TB_S7U5NJ0Y750798J"; # /dev/nvme0n1
    content = {
      type = "gpt";
      partitions = {
        swap = {
          content = {
            type = "luks";
            name = "cryptswap";
          };
        };
        luks = {
          size = "100%";
          content = {
            type = "luks";
            name = "cryptroot";
            content = {
              type = "btrfs";
              subvolumes = {
                "@" = {
                  mountpoint = "/";
                };
              };
            };
          };
        };
      };
    };
  };
};

Do I add

fileSystems."/".device = "/dev/mapper/cryptroot";

and that's it? what about my swap?

19:12:28
@enzime:nixos.devEnzime I don't think you should need to set fileSystems."/".device, disko should automatically set that for you as long as you import the disko NixOS module and your disko configuration into your NixOS configuration 19:36:46
5 Jun 2026
@zimward:zimward.moezimward changed their display name from zimward to zimward @GPN24.19:38:09

Show newer messages


Back to Room ListRoom Version: 10