| 1 Jun 2026 |
| @esch:eschbach.house left the room. | 15:36:37 |
| mitch9378 joined the room. | 17:01:03 |
| 2 Jun 2026 |
| axw joined the room. | 21:05:48 |
| 4 Jun 2026 |
| Allen Liao joined the room. | 19:09:53 |
Allen 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 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 | 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 changed their display name from zimward to zimward @GPN24. | 19:38:09 |
| Tomas Rivera joined the room. | 20:40:30 |
| 6 Jun 2026 |
| bigbird99 joined the room. | 00:51:53 |
| mikabo joined the room. | 07:54:15 |
| WorldsGoneMad joined the room. | 19:55:06 |
| fluffymoth joined the room. | 21:06:42 |
| 7 Jun 2026 |
| Likius Inik joined the room. | 05:20:13 |
| zimward changed their display name from zimward @GPN24 to zimward. | 21:08:08 |
| 9 Jun 2026 |
magic_rb | https://github.com/nix-community/disko/pull/1269 hopefully wont ruffle any feathers, but that warning has been driving me up the damn wall for years | 20:59:04 |
| 10 Jun 2026 |
| Tom Oostveen [moved to @tom:toostveen.nl] changed their display name from Tom to Tom Oostveen [moved to @tom:toostveen.nl]. | 16:26:32 |
| 11 Jun 2026 |
| noradtux joined the room. | 09:25:06 |
| dimothy joined the room. | 14:28:54 |
| 12 Jun 2026 |
| lav joined the room. | 00:01:34 |
| biological computing joined the room. | 05:45:08 |
| 13 Jun 2026 |
| debtquity set a profile picture. | 03:23:24 |
| biological computing changed their profile picture. | 05:47:08 |
| @vengmark2:matrix.org left the room. | 11:42:32 |
| biological computing changed their profile picture. | 11:49:31 |
| hαdal84 joined the room. | 23:08:12 |
| 14 Jun 2026 |
| biological computing changed their display name from edgar to portobello. | 19:06:21 |
| 15 Jun 2026 |
| biological computing changed their display name from portobello to 21ed2. | 12:09:42 |
| biological computing changed their display name from 21ed2 to *namirin. | 14:40:03 |
| 16 Jun 2026 |
| biological computing changed their display name from *namirin to biological computing. | 09:16:55 |